tsviewer/Dockerfile

11 lines
185 B
Docker
Raw Normal View History

2019-01-31 16:26:30 +00:00
2019-01-31 17:04:45 +00:00
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"]