1
0
Fork 0
mirror of https://github.com/Luzifer/mondash.git synced 2024-11-09 16:10:01 +00:00
mondash/Dockerfile

16 lines
435 B
Text
Raw Normal View History

2016-01-23 12:07:07 +00:00
FROM alpine
MAINTAINER Knut Ahlers <knut@luzifer.io>
ENV GOPATH /go:/go/src/github.com/Luzifer/mondash/Godeps/_workspace
EXPOSE 3000
ADD . /go/src/github.com/Luzifer/mondash
WORKDIR /go/src/github.com/Luzifer/mondash
RUN apk --update add git go ca-certificates \
&& go install -ldflags "-X main.version=$(git describe --tags || git rev-parse --short HEAD || echo dev)" \
&& apk del --purge go git
ENTRYPOINT ["/go/bin/mondash"]