tsviewer/Dockerfile
2019-01-31 18:06:19 +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"]