Skip to content

Commit

Permalink
Switch base image to better support unprivileged user
Browse files Browse the repository at this point in the history
  • Loading branch information
FreedomBen committed Aug 28, 2024
1 parent 66f8e67 commit 8038948
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM nginx:latest
FROM nginxinc/nginx-unprivileged:1.26

COPY ./index.html /usr/share/nginx/html/index.html
COPY ./lib/qrcode.min.js /usr/share/nginx/html/lib/qrcode.min.js
COPY ./lib/tailwind.min.css /usr/share/nginx/html/lib/tailwind.min.css
COPY ./lib/tailwind.min.css /usr/share/nginx/html/lib/tailwind.min.css

0 comments on commit 8038948

Please sign in to comment.