Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
fix(ci): autodevops-helm
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo committed Feb 23, 2022
1 parent 0277ada commit 0400fd5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ RUN yarn build:export
FROM ghcr.io/socialgouv/docker/nginx:6.64.2 AS runner

# Rootless container
RUN chown 1000:1000 /usr/share/nginx/html
USER 1000
RUN addgroup -g 1001 -S nodejs
RUN adduser -S nextjs -u 1001
RUN chown 1001:1001 /usr/share/nginx/html
USER 1001
ENV PORT=3000
EXPOSE 3000

Expand Down

0 comments on commit 0400fd5

Please sign in to comment.