Created
March 20, 2016 17:05
-
-
Save shimont/7af2a04aafb84f64a5c3 to your computer and use it in GitHub Desktop.
Revisions
-
shimont created this gist
Mar 20, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ FROM golang:alpine RUN adduser -D app -h /go/ ADD code/src /go/src/enrichment/ RUN chown -R app:app /go/ WORKDIR /go/src/enrichment/ RUN apk add --no-cache git \ && go get -v -u github.com/tools/godep \ && godep restore -v \ && go install -v USER app ENTRYPOINT ["/go/bin/enrichment"] EXPOSE 8000