feat: change some little security risks, add another ingress that has ip whitelist for admin panel and update some OCI image versions

This commit is contained in:
Justin Kreller
2025-05-12 23:26:29 +02:00
parent 3374dfd8f9
commit 5aa1c32fcd
9 changed files with 55 additions and 16 deletions

View File

@@ -41,10 +41,10 @@ COPY . ./
# production stage
# https://hub.docker.com/r/bitnami/nginx -> always run as non-root user
FROM docker.io/bitnami/nginx:1.27 AS prod
FROM docker.io/bitnami/nginx:1.28 AS prod
# copy build files from build container
COPY --from=build /app/dist /app
COPY ./nginx.conf /opt/bitnami/nginx/conf/nginx.conf
COPY --from=build /app/dist /app
EXPOSE 8000