build(docker): add missing cleanupNodeModules removal to Dockerfile

previously forgot to add this here as well -> had it only in the Dockerfile.alpine
pull/1436/head
Panagiotis Papadopoulos 2025-03-27 09:06:09 +07:00
parent d5bc9841e3
commit fa0358662a
1 changed files with 3 additions and 1 deletions

@ -41,7 +41,9 @@ RUN sed -i "/electron/d" package.json && \
npm ci --omit=dev && \
node --experimental-strip-types ./bin/cleanupNodeModules.ts . --skip-prune-dev-deps && \
npm cache clean --force && \
rm -rf /tmp/node-compile-cache
rm -rf \
/tmp/node-compile-cache \
/usr/src/app/bin/cleanupNodeModules.ts
# Configure container
EXPOSE 8080