go-tsviewer/Dockerfile
2019-01-31 18:04:45 +01:00

11 lines
No EOL
185 B
Docker

FROM golang:latest
RUN mkdir /app
RUN mkdir -p /app
WORKDIR /app
RUN go get -u
RUN go build -o main .
CMD ["/app/main"]
ADD . /app
RUN go build ./main.go
CMD ["./main"]