tsviewer/Dockerfile
2019-01-31 19:39:04 +01:00

13 lines
No EOL
240 B
Docker

FROM golang:latest
RUN mkdir /app
WORKDIR /app
RUN mkdir /go
RUN export GOPATH=/app/go
COPY main.go .
COPY config.json .
RUN go get
WORKDIR $GOPATH/src/git.cliffbreak.de/Cliffbreak/tsviewer
RUN go build
EXPOSE 8080
CMD ["./tsviewer"]