File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -73,10 +73,14 @@ RUN \
7373 cd /tmp/immich/web && \
7474 npm ci && \
7575 npm run build && \
76+ npm prune --omit=dev --omit=optional && \
7677 cp -a \
77- build/* \
78+ build \
79+ node_modules \
80+ package.json \
81+ package-lock.json \
7882 static \
79- /app/immich/server/www && \
83+ /app/immich/server/www && \
8084 echo "**** build CLI ****" && \
8185 mkdir -p \
8286 /app/immich/cli && \
Original file line number Diff line number Diff line change @@ -72,10 +72,14 @@ RUN \
7272 cd /tmp/immich/web && \
7373 npm ci && \
7474 npm run build && \
75+ npm prune --omit=dev --omit=optional && \
7576 cp -a \
76- build/* \
77+ build \
78+ node_modules \
79+ package.json \
80+ package-lock.json \
7781 static \
78- /app/immich/server/www && \
82+ /app/immich/server/www && \
7983 echo "**** build CLI ****" && \
8084 mkdir -p \
8185 /app/immich/cli && \
You can’t perform that action at this time.
0 commit comments