mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-29 23:50:18 +01:00
12 lines
384 B
Docker
12 lines
384 B
Docker
FROM golang:1.7-alpine
|
|
LABEL maintainer="Remco Verhoef <remco@dutchcoders.io>"
|
|
|
|
# Copy the local package files to the container's workspace.
|
|
ADD . /go/src/github.com/dutchcoders/transfer.sh
|
|
|
|
# build & install server
|
|
RUN go build -o /go/bin/transfersh github.com/dutchcoders/transfer.sh
|
|
|
|
ENTRYPOINT ["/go/bin/transfersh", "--listener", ":8080", "--provider", "s3"]
|
|
|
|
EXPOSE 8080 8080
|