mirror of
https://github.com/khairul169/garage-webui.git
synced 2025-06-14 20:59:32 +07:00
fix: using full distro to include ca-certificate supporting https connection
This commit is contained in:
parent
b2bc905e3c
commit
6c6b9b076b
@ -19,8 +19,10 @@ COPY backend/ ./
|
|||||||
COPY --from=frontend /app/dist ./ui/dist
|
COPY --from=frontend /app/dist ./ui/dist
|
||||||
RUN make
|
RUN make
|
||||||
|
|
||||||
FROM scratch
|
FROM debian:bookworm-slim
|
||||||
|
|
||||||
COPY --from=backend /app/main /bin/main
|
COPY --from=backend /app/main /bin/main
|
||||||
|
|
||||||
|
RUN apt update && apt install -y ca-certificates && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
CMD [ "/bin/main" ]
|
CMD [ "/bin/main" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user