File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -85,10 +85,14 @@ RUN \
8585 cd /tmp/immich/web && \
8686 npm ci && \
8787 npm run build && \
88+ npm prune --omit=dev --omit=optional && \
8889 cp -a \
8990 build/* \
91+ node_modules \
92+ package.json \
93+ package-lock.json \
9094 static \
91- /app/immich/server/www && \
95+ /app/immich/server/www && \
9296 echo "**** build CLI ****" && \
9397 mkdir -p \
9498 /app/immich/cli && \
Original file line number Diff line number Diff line change @@ -84,10 +84,14 @@ RUN \
8484 cd /tmp/immich/web && \
8585 npm ci && \
8686 npm run build && \
87+ npm prune --omit=dev --omit=optional && \
8788 cp -a \
8889 build/* \
90+ node_modules \
91+ package.json \
92+ package-lock.json \
8993 static \
90- /app/immich/server/www && \
94+ /app/immich/server/www && \
9195 echo "**** build CLI ****" && \
9296 mkdir -p \
9397 /app/immich/cli && \
You can’t perform that action at this time.
0 commit comments