diff --git a/Dockerfile b/Dockerfile index 27deddd8..a68fc881 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ ENV NODE_ENV=development ARG UID ARG GID RUN groupadd -fg "$GID" apprunner -RUN useradd -m -u "$UID" -g "$GID" apprunner +RUN useradd -om -u "$UID" -g "$GID" apprunner USER apprunner WORKDIR /app diff --git a/worker/Dockerfile b/worker/Dockerfile index c1a05b0c..01471151 100644 --- a/worker/Dockerfile +++ b/worker/Dockerfile @@ -7,7 +7,7 @@ ENV NODE_ENV=development ARG UID ARG GID RUN groupadd -fg "$GID" apprunner -RUN useradd -m -u "$UID" -g "$GID" apprunner +RUN useradd -om -u "$UID" -g "$GID" apprunner USER apprunner WORKDIR /app \ No newline at end of file