go-tsviewer/Dockerfile

7 lines
115 B
Docker
Raw Normal View History

2019-01-16 22:25:48 +00:00
FROM golang:latest
2019-01-31 15:37:53 +00:00
RUN mkdir -p /app
2019-01-16 22:25:48 +00:00
WORKDIR /app
2019-01-31 15:37:53 +00:00
ADD . /app
2019-01-31 15:51:36 +00:00
RUN go get -u
2019-01-31 15:37:53 +00:00
RUN go build ./main.go
CMD ["./main"]