1
0
mirror of https://github.com/taigrr/shorturl synced 2025-01-18 04:03:16 -08:00

Initial Commit

This commit is contained in:
2017-07-02 22:51:46 -07:00
commit 3380bc5e65
14 changed files with 482 additions and 0 deletions

17
Dockerfile Normal file
View File

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