Use a base image with ca-certificates installed.

This commit is contained in:
Condorra 2024-11-03 23:39:47 +11:00
parent 73b59a8254
commit a1b53923ac
3 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,5 @@
FROM debian:bookworm-slim
RUN apt-get -y update && \
apt-get -y install \
ca-certificates && \
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,4 @@
#!/bin/bash
sudo podman build -t quay.io/blasthavers/worldwideportal-baseimg:latest .
sudo podman push quay.io/blasthavers/worldwideportal-baseimg:latest

View File

@ -1,4 +1,4 @@
FROM debian:bookworm-slim
FROM quay.io/blasthavers/worldwideportal-baseimg
COPY wwpapp /frontendstatic
COPY wwpserver/worldwideportal-server /bin/worldwideportal-server
ENTRYPOINT ["/bin/worldwideportal-server"]