s3manager-web/build/docker/Dockerfile
2018-05-27 23:11:52 +02:00

12 lines
254 B
Docker

FROM golang:1
WORKDIR /go/src/github.com/mastertinner/s3manager
COPY . .
RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
RUN dep ensure
RUN go build -ldflags="-s -w" ./cmd/s3manager
EXPOSE 8080
ENTRYPOINT ["./s3manager"]