This commit is contained in:
Moritz 2019-01-31 19:56:44 +01:00
parent e152962fe7
commit 50b56687eb

View file

@ -2,12 +2,12 @@
FROM golang:latest
RUN mkdir /app
WORKDIR /app
RUN mkdir /go
RUN mkdir /app/go
RUN export GOPATH=/app/go
COPY main.go .
COPY config.json .
RUN go get
RUN go get; exit 0
WORKDIR $GOPATH/src/git.cliffbreak.de/Cliffbreak/tsviewer
COPY config.json .
RUN go build
EXPOSE 8080
CMD ["./tsviewer"]
CMD ["./tsviewer"]