FROM golang:1.14
RUN mkdir /app
WORKDIR /app
ADD . /app/
RUN go build -o main .
RUN mv main /bin/cointop
ENTRYPOINT cointop
CMD []