Skip to content

Commit

Permalink
use unprivileged nginx image
Browse files Browse the repository at this point in the history
closes #567
  • Loading branch information
v0l committed Oct 6, 2023
1 parent 2a6433a commit 92c90b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ RUN yarn install --network-timeout 1000000
COPY . .
RUN yarn build

FROM nginx:mainline-alpine
FROM nginxinc/nginx-unprivileged:mainline-alpine
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/packages/app/build /usr/share/nginx/html
2 changes: 1 addition & 1 deletion Dockerfile.prebuilt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM nginx:mainline-alpine
FROM nginxinc/nginx-unprivileged:mainline-alpine
COPY packages/app/build /usr/share/nginx/html
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf

0 comments on commit 92c90b4

Please sign in to comment.