12 lines
242 B
Docker
12 lines
242 B
Docker
FROM golang:latest
|
|
|
|
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 ./cmd/s3manager
|
|
|
|
EXPOSE 8080
|
|
|
|
ENTRYPOINT ["./s3manager"]
|