go-tsviewer/DOCKERFILE

7 lines
118 B
Text
Raw Normal View History

2019-01-16 22:25:48 +00:00
FROM golang:latest
RUN mkdir /app
ADD . /app/
WORKDIR /app
2019-01-17 00:35:51 +00:00
RUN go get -u
2019-01-16 22:25:48 +00:00
RUN go build -o main .
CMD ["/app/main"]