FROM golang:1.16 RUN apt update && apt install -y libsqlite3-dev && rm -rf /var/cache/apt/* RUN mkdir /honk-src COPY *.go docs/ toys/ vendor/ views/ /honk-src/ WORKDIR /honk-src RUN make RUN mv ./honk /bin/honk CMD ["/bin/honk", "-datadir", "/honk-data"] COPY docker-entrypoint.sh /honk-src/docker-entrypoint.sh ENTRYPOINT ["/honk-src/docker-entrypoint.sh"]