mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2020-11-18 19:53:40 -08:00
added docker configuration file
This commit is contained in:
parent
c6af437480
commit
6c85472240
18
transfersh-server/Dockerfile
Normal file
18
transfersh-server/Dockerfile
Normal file
@ -0,0 +1,18 @@
|
||||
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 . /go/src/app
|
||||
|
||||
# install dependencies
|
||||
RUN go get ./
|
||||
|
||||
# build & install server
|
||||
RUN go install .
|
||||
|
||||
ENTRYPOINT /go/bin/app --port 8080
|
||||
|
||||
EXPOSE 8080
|
Loading…
x
Reference in New Issue
Block a user