build(docker): use absolute path to stay consistent

pull/1436/head
Panagiotis Papadopoulos 2025-03-27 09:05:17 +07:00
parent e9fa37c4ee
commit d5bc9841e3
1 changed files with 2 additions and 2 deletions

@ -36,9 +36,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 \
rm -rf \
/tmp/node-compile-cache \
./bin/cleanupNodeModules.ts
/usr/src/app/bin/cleanupNodeModules.ts
# Add application user
RUN adduser -s /bin/false node; exit 0