1
0
mirror of https://github.com/taigrr/pastebin synced 2026-04-11 19:31:29 -07:00
Files
pastebin/Dockerfile

20 lines
307 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 get github.com/GeertJohan/go.rice/rice
RUN rice embed-go
RUN go install -v