File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ COPY app ${APP_ROOT}
1818RUN chown -R 1001:0 ${APP_ROOT}
1919USER 1001
2020WORKDIR ${APP_ROOT}
21- RUN npm ci && npm run build
21+ RUN npm ci --ignore-scripts --omit-dev && npm run build
2222
2323#
2424# Build the frontend
@@ -37,7 +37,7 @@ COPY frontend ${APP_ROOT}
3737RUN chown -R 1001:0 ${APP_ROOT}
3838USER 1001
3939WORKDIR ${APP_ROOT}
40- RUN npm ci && npm run build
40+ RUN npm ci --ignore-scripts --omit-dev && npm run build
4141
4242#
4343# Create the final container image
@@ -65,7 +65,7 @@ WORKDIR ${APP_ROOT}
6565# Install Application
6666RUN chown -R 1001:0 ${APP_ROOT}
6767USER 1001
68- RUN npm ci --omit=dev && npm run prisma:generate
68+ RUN npm ci --ignore-scripts -- omit=dev && npm run prisma:generate
6969
7070EXPOSE ${APP_PORT}
7171CMD ["node" , "--max-old-space-size=50" , "./sbin/server.js" ]
You can’t perform that action at this time.
0 commit comments