Fix Docker chown logic

This commit is contained in:
Andrew
2024-02-02 14:59:57 +03:00
parent ab35775e94
commit 1521b66f12
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ COPY --from=build ${APP_DIRECTORY}/app .
ENV PATH ${APP_DIRECTORY}/node_modules/.bin:$PATH
# Set user and group rights
RUN chown -R node:node ${APP_DIRECTORY}
RUN chown -R node:node ${APP_DIRECTORY}/node_modules
# Run as node
USER node