Skip to content

Commit 2cae852

Browse files
committed
feat: sveltekit served by nestjs
1 parent d52a0b3 commit 2cae852

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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 && \

Dockerfile.aarch64

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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 && \

0 commit comments

Comments
 (0)