Skip to content

Commit 49bcf8a

Browse files
committed
Fixing openssl & expat cves
Signed-off-by: Jean-Laurent de Morlhon <[email protected]>
1 parent 277d381 commit 49bcf8a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Dockerfile

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
FROM nginxinc/nginx-unprivileged:1.27.1-alpine
2-
COPY static /usr/share/nginx/html
2+
USER root
33
RUN apk update && \
4-
apk upgrade expat openssl && \
5-
rm -rf /var/cache/apk/*
4+
apk upgrade openssl expat && \
5+
rm -rf /var/cache/apk/*
6+
USER nginx
7+
COPY static /usr/share/nginx/html

0 commit comments

Comments
 (0)