mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
build(docker): add missing cleanupNodeModules removal to Dockerfile
previously forgot to add this here as well -> had it only in the Dockerfile.alpine
This commit is contained in:
parent
d5bc9841e3
commit
fa0358662a
@ -41,7 +41,9 @@ RUN sed -i "/electron/d" package.json && \
|
|||||||
npm ci --omit=dev && \
|
npm ci --omit=dev && \
|
||||||
node --experimental-strip-types ./bin/cleanupNodeModules.ts . --skip-prune-dev-deps && \
|
node --experimental-strip-types ./bin/cleanupNodeModules.ts . --skip-prune-dev-deps && \
|
||||||
npm cache clean --force && \
|
npm cache clean --force && \
|
||||||
rm -rf /tmp/node-compile-cache
|
rm -rf \
|
||||||
|
/tmp/node-compile-cache \
|
||||||
|
/usr/src/app/bin/cleanupNodeModules.ts
|
||||||
|
|
||||||
# Configure container
|
# Configure container
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
Loading…
x
Reference in New Issue
Block a user