Skip to content

Commit 2c1eb29

Browse files
committed
feat: sveltekit served by nestjs
1 parent 099e3f1 commit 2c1eb29

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ RUN \
4949
/tmp/node_modules/@img \
5050
/tmp/node_modules/exiftool-vendored.pl \
5151
node_modules && \
52-
npm link && \
5352
npm cache clean --force && \
5453
cp -a \
5554
resources \
@@ -69,14 +68,15 @@ RUN \
6968
npm run build && \
7069
echo "**** build web ****" && \
7170
mkdir -p \
72-
/app/immich/server/www && \
71+
/app/immich/server/dist/web && \
7372
cd /tmp/immich/web && \
7473
npm ci && \
7574
npm run build && \
7675
cp -a \
77-
build/* \
76+
build \
77+
node_modules \
7878
static \
79-
/app/immich/server/www && \
79+
/app/immich/server/dist/web && \
8080
echo "**** build CLI ****" && \
8181
mkdir -p \
8282
/app/immich/cli && \

Dockerfile.aarch64

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ RUN \
4848
/tmp/node_modules/@img \
4949
/tmp/node_modules/exiftool-vendored.pl \
5050
node_modules && \
51-
npm link && \
5251
npm cache clean --force && \
5352
cp -a \
5453
resources \
@@ -68,14 +67,15 @@ RUN \
6867
npm run build && \
6968
echo "**** build web ****" && \
7069
mkdir -p \
71-
/app/immich/server/www && \
70+
/app/immich/server/dist/web && \
7271
cd /tmp/immich/web && \
7372
npm ci && \
7473
npm run build && \
7574
cp -a \
76-
build/* \
75+
build \
76+
node_modules \
7777
static \
78-
/app/immich/server/www && \
78+
/app/immich/server/dist/web && \
7979
echo "**** build CLI ****" && \
8080
mkdir -p \
8181
/app/immich/cli && \

0 commit comments

Comments
 (0)