pastebin/Dockerfile
2017-07-02 23:42:34 -07:00

18 lines
243 B
Docker

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