docker, previews, tor, bugfixes

* implemented docker
* added previews (markdown, html, text, video, audio)
* added tor support
* several bugfixes
This commit is contained in:
Remco
2014-11-13 21:41:43 +01:00
parent 6c85472240
commit 6b251ec7a8
63 changed files with 4401 additions and 307 deletions

18
Dockerfile Normal file
View 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 ./transfersh-server /go/src/app
# install dependencies
RUN go get ./
# build & install server
RUN go install .
ENTRYPOINT /go/bin/app --port 8080
EXPOSE 8080