chore(Dockerfile): Changed npm install to npm ci

This commit is contained in:
Nino
2025-09-17 12:18:58 +02:00
parent c5d057e3a7
commit 54aa18a3a3

View File

@@ -8,7 +8,7 @@ WORKDIR /app
COPY . . COPY . .
RUN umask 0022 RUN umask 0022
RUN npm version ${SEMVERSION} RUN npm version ${SEMVERSION}
RUN npm install --foreground-scripts RUN npm ci --foreground-scripts
RUN if [ "${IS_PRODUCTION}" = "true" ] ; then npm run-script build-prod ; else npm run-script build ; fi RUN if [ "${IS_PRODUCTION}" = "true" ] ; then npm run-script build-prod ; else npm run-script build ; fi
# stage final # stage final