s3manager-web/Dockerfile

11 lines
280 B
Docker
Raw Normal View History

2017-05-08 23:07:07 +02:00
FROM golang
ADD . /go/src/github.com/mastertinner/s3manager
WORKDIR /go/src/github.com/mastertinner/s3manager
RUN go build ./cmd/s3manager
2017-04-27 12:29:13 +02:00
EXPOSE 8080
2017-05-08 23:07:07 +02:00
CMD ./s3manager -endpoint "${S3_ENDPOINT}" -access-key-id "${S3_ACCESS_KEY_ID}" -secret-access-key "${S3_SECRET_ACCESS_KEY}"