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