Docker: fix docker file

- install ca-certificate to make api calls
- add default folders and option in the image
This commit is contained in:
2026-03-05 15:33:45 +01:00
parent 802fa9cc09
commit fea4993d26

View File

@@ -9,6 +9,9 @@ COPY . .
COPY --from=buildfront ./dist front/dist
RUN go build -tags=embed -o /bin/bibliomane
FROM debian:bookworm
FROM debian:trixie
RUN apt-get update
RUN apt-get install -y ca-certificates
RUN mkdir /opt/bibliomane
COPY --from=build /bin/bibliomane /bin/bibliomane
ENTRYPOINT ["/bin/bibliomane"]
ENTRYPOINT ["/bin/bibliomane", "-c", "/opt/bibliomane/biliomane.toml", "-i", "/opt/bibliomane/img", "-d", "/opt/bibliomane/bibliomane.db"]