1
0
mirror of https://github.com/dutchcoders/transfer.sh.git synced 2020-11-18 19:53:40 -08:00
transfer.sh/Dockerfile
2016-05-19 17:36:44 +02:00

19 lines
352 B
Docker

FROM golang
MAINTAINER Remco Verhoef <remco@dutchcoders.io>
RUN mkdir -p /go/src/app
WORKDIR /go/src/app
# Copy the local package files to the container's workspace.
ADD ./transfersh-server /go/src/app
# install dependencies
RUN go get ./
# build & install server
RUN go install .
ENTRYPOINT ["/go/bin/app", "--port", "8080"]
EXPOSE 8080 6060