Initial Commit

This commit is contained in:
James Mills
2017-07-02 23:42:34 -07:00
commit 3c42d7d878
13 changed files with 369 additions and 0 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM golang:alpine
EXPOSE 8000/tcp
ENTRYPOINT ["pastebin"]
RUN \
apk add --update git && \
rm -rf /var/cache/apk/*
RUN mkdir -p /go/src/pastebin
WORKDIR /go/src/pastebin
COPY . /go/src/pastebin
RUN go get -v -d
RUN go install -v