Skip to content

Commit 73ea727

Browse files
committed
Update nginx-unprivileged docker image
1 parent 5b71aac commit 73ea727

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

Dockerfile

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,7 @@ COPY *.json ./
1919
RUN npm run build:nolint
2020

2121
# Create image for deployment
22-
FROM nginxinc/nginx-unprivileged:stable AS deployment
23-
24-
25-
# Update package lists and upgrade libpng1.6 (libpng16-16 runtime)
26-
# to fix a security vulnerability (CVE-2025-64720)
27-
USER root
28-
ENV DEBIAN_FRONTEND=noninteractive
29-
30-
RUN set -eux; \
31-
apt-get update; \
32-
apt-get install -y --no-install-recommends libpng16-16=1.6.39-2+deb12u1; \
33-
rm -rf /var/lib/apt/lists/*
22+
FROM nginxinc/nginx-unprivileged:1.29-alpine AS deployment
3423

3524
USER nginx
3625
COPY nginx.conf /etc/nginx/nginx.conf

0 commit comments

Comments
 (0)