1
0
Fork 0
punaday-api/Dockerfile

13 lines
363 B
Text
Raw Normal View History

2016-02-22 11:44:56 -05:00
FROM alpine:latest
COPY . /go/src/github.com/atomaka/punaday-api
RUN apk update \
&& apk add --no-cache go git \
&& cd /go/src/github.com/atomaka/punaday-api \
&& export GOPATH=/go \
&& go get \
&& go build -o /bin/punaday-api \
&& rm -rf /go \
&& apk del --purge git go \
&& rm -rf /var/cache/apk*
ENTRYPOINT ["/bin/punaday-api"]