Initial Commit
This commit is contained in:
17
Dockerfile
Normal file
17
Dockerfile
Normal 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
|
Reference in New Issue
Block a user