Skip to content

Commit

Permalink
fix(docker): ajout d'un user au Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
pYassine committed Feb 1, 2023
1 parent 1f144ca commit 35936a9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM node:16.19-bullseye
USER node

ENV TZ Europe/Paris
RUN cp /usr/share/zoneinfo/Europe/Paris /etc/localtime
Expand Down
1 change: 1 addition & 0 deletions packages/frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM node:16.19.0 as builder
USER node

# these variables are needed at build time because we produce a *static* app
ARG PRODUCTION
Expand Down
1 change: 1 addition & 0 deletions packages/portail-admins/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM node:16.19.0 as builder
USER node

# these variables are needed at build time because we produce a *static* app
ARG DOMIFA_BACKEND_URL
Expand Down
1 change: 1 addition & 0 deletions packages/portail-usagers/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM node:16.19.0 as builder
USER node

# these variables are needed at build time because we produce a *static* app
ARG DOMIFA_BACKEND_URL
Expand Down

0 comments on commit 35936a9

Please sign in to comment.