2
0
mirror of https://github.com/miguelmota/cointop synced 2024-11-05 00:00:14 +00:00
cointop/Dockerfile
2020-08-05 09:13:18 -07:00

13 lines
237 B
Docker

FROM golang:1.14
RUN mkdir /app
WORKDIR /app
ARG VERSION
ADD . /app/
RUN go build -ldflags=-s -ldflags=-w -ldflags=-X=github.com/miguelmota/cointop/cointop.version=$VERSION -o main .
RUN mv main /bin/cointop
ENTRYPOINT cointop
CMD []