Docker: fix docker file
- install ca-certificate to make api calls - add default folders and option in the image
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user