transfer.sh/Dockerfile

13 lines
376 B
Text
Raw Normal View History

FROM golang:1.7-alpine
2014-11-11 15:35:16 +01:00
MAINTAINER Remco Verhoef <remco@dutchcoders.io>
# Copy the local package files to the container's workspace.
2017-03-22 22:28:05 +01:00
ADD . /go/src/github.com/dutchcoders/transfer.sh
2014-11-11 15:35:16 +01:00
# build & install server
2017-03-22 22:28:05 +01:00
RUN go build -o /go/bin/transfersh github.com/dutchcoders/transfer.sh
2014-11-11 15:35:16 +01:00
2017-03-22 22:28:05 +01:00
ENTRYPOINT ["/go/bin/transfersh", "--listener", ":8080", "--provider", "s3"]
2014-11-11 15:35:16 +01:00
2017-03-22 22:28:05 +01:00
EXPOSE 8080 8080