Skip to content

Commit

Permalink
fix(k8s): add securityContext (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon authored Sep 8, 2023
1 parent 6a2e3ea commit 00e5cde
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .kontinuous/values.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
global:
imageProject: 1000jours

app:
securityContext:
fsGroup: 101
runAsGroup: 101
runAsUser: 101
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ RUN yarn --production --frozen-lockfile --prefer-offline && yarn cache clean
RUN yarn build
RUN yarn export

FROM ghcr.io/socialgouv/docker/nginx:7.0.1
FROM ghcr.io/socialgouv/docker/nginx:8.2.0

COPY --from=builder --chown=nginx:nginx /out /usr/share/nginx/html

0 comments on commit 00e5cde

Please sign in to comment.