transfer.sh/Dockerfile
TheAssassin f6c91c85fe Switch to alpine base image
This drastically decreases the overall image size. Quick comparison:

```
# Image fetched from Docker Hub
dutchcoders/transfer.sh   latest              a875ed5dfa56        5 months ago        704MB
# Image just built
dutchcoders/transfer.sh   latest              a220c49297eb        4 minutes ago       269MB
```
2017-08-29 20:08:34 +02:00

12 lines
376 B
Docker

FROM golang:1.7-alpine
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