mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-23 12:40:19 +01:00
6b251ec7a8
* implemented docker * added previews (markdown, html, text, video, audio) * added tor support * several bugfixes
18 lines
337 B
Docker
18 lines
337 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
|