1
0
Fork 0
mirror of https://github.com/Luzifer/mondash.git synced 2024-11-14 02:12:42 +00:00
mondash/Dockerfile

17 lines
376 B
Text
Raw Normal View History

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