forked from Cliffbreak/tsviewer
Merge branch 'master' of https://git.cliffbreak.de/Cliffbreak/tsviewer
fixing web port
This commit is contained in:
commit
6343577301
1 changed files with 10 additions and 9 deletions
19
Dockerfile
19
Dockerfile
|
@ -1,11 +1,12 @@
|
||||||
|
|
||||||
FROM golang:latest
|
FROM golang:latest
|
||||||
RUN mkdir /app
|
RUN mkdir /app
|
||||||
RUN mkdir -p /app
|
WORKDIR /app
|
||||||
WORKDIR /app
|
RUN mkdir /go
|
||||||
RUN go get -u
|
RUN export GOPATH=/app/go
|
||||||
RUN go build -o main .
|
COPY main.go .
|
||||||
CMD ["/app/main"]
|
RUN go get
|
||||||
ADD . /app
|
WORKDIR $GOPATH/src/git.cliffbreak.de/Cliffbreak/tsviewer
|
||||||
RUN go build ./main.go
|
RUN go build
|
||||||
CMD ["./main"]
|
EXPOSE 8080
|
||||||
|
CMD ["./tsviewer"]
|
Loading…
Reference in a new issue