Skip to content

Commit

Permalink
Add a Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Wierema committed Nov 18, 2016
1 parent 85893af commit e210ee9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM golang:alpine

RUN apk add --no-cache --virtual git && \
go-wrapper download github.com/marcelcorso/sachet && \
go-wrapper install github.com/marcelcorso/sachet && \
rm -rf src pkg && \
apk del git

COPY example-config.yaml /etc/sachet/config.yaml

EXPOSE 9876
ENTRYPOINT ["sachet"]
CMD ["-config", "/etc/sachet/config.yaml"]

0 comments on commit e210ee9

Please sign in to comment.