add simple Dockerfile

master
thierry begin-paradis 2 years ago
parent 94ff210f68
commit 36cfe835ee
  1. 9
      Dockerfile

@ -0,0 +1,9 @@
FROM golang:alpine
RUN apk update && apk add --no-cache git
RUN git clone https://github.com/mop-tracker/mop ./mop
RUN cd mop && \
go build ./cmd/mop && \
chmod a+x ./mop
WORKDIR /go/mop/
CMD ["./mop"]
Loading…
Cancel
Save