mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-07 12:19:14 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user