We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f2d84b commit d1f73f1Copy full SHA for d1f73f1
src/frontend/Dockerfile
@@ -50,19 +50,7 @@ ENV NEXT_PUBLIC_PUBLISH_AS_MIT=${PUBLISH_AS_MIT}
50
RUN yarn build
51
52
# ---- Front-end image ----
53
-FROM nginxinc/nginx-unprivileged:1.27-alpine AS frontend-production
54
-
55
-# Remove the upgrade part once nginx has published
56
-# a new image that fixes the CVE related to libxml2
57
-ARG UID=101
58
-USER root
59
60
-# Upgrade system packages to install security updates
61
-RUN apk update && \
62
- apk upgrade && \
63
- rm -rf /var/cache/apk/*
64
65
-USER $UID
+FROM nginxinc/nginx-unprivileged:alpine3.21 AS frontend-production
66
67
# Un-privileged user running the application
68
ARG DOCKER_USER
0 commit comments