transfer.sh/Dockerfile

19 lines
352 B
Text
Raw Normal View History

2014-11-11 15:35:16 +01:00
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
2014-11-11 15:35:16 +01:00
# install dependencies
RUN go get ./
# build & install server
RUN go install .
ENTRYPOINT ["/go/bin/app", "--port", "8080"]
2014-11-11 15:35:16 +01:00
2016-05-19 17:36:44 +02:00
EXPOSE 8080 6060