10 lines
280 B
Docker
10 lines
280 B
Docker
FROM golang
|
|
|
|
ADD . /go/src/github.com/mastertinner/s3manager
|
|
WORKDIR /go/src/github.com/mastertinner/s3manager
|
|
|
|
RUN go build ./cmd/s3manager
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD ./s3manager -endpoint "${S3_ENDPOINT}" -access-key-id "${S3_ACCESS_KEY_ID}" -secret-access-key "${S3_SECRET_ACCESS_KEY}"
|