Skip to content

Commit 36371b4

Browse files
authored
run as non root
1 parent 938ee74 commit 36371b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ COPY . .
55
RUN npm install
66
RUN npm run build
77

8-
FROM nginx:1.17
8+
FROM nginxinc/nginx-unprivileged:1.17
99

1010
COPY nginx.conf /etc/nginx/conf.d/default.conf
1111
RUN rm /usr/share/nginx/html/50x.html /usr/share/nginx/html/index.html

0 commit comments

Comments
 (0)