s3manager-web/build/docker/Dockerfile

13 lines
254 B
Docker
Raw Normal View History

2018-05-22 22:56:01 +02:00
FROM golang:1
2018-03-14 21:53:35 +01:00
WORKDIR /go/src/github.com/mastertinner/s3manager
COPY . .
RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
RUN dep ensure
2018-04-24 22:35:21 +02:00
RUN go build -ldflags="-s -w" ./cmd/s3manager
2018-03-14 21:53:35 +01:00
EXPOSE 8080
ENTRYPOINT ["./s3manager"]