Fix: docker build

This commit is contained in:
nichwall committed 2026-08-27 21:40:09 -07:00
1 parent 0571747fab
commit d6398e54dd
1 file changed
+2 -2
+2 -2
View File
@@ -25,7 +25,7 @@ RUN apk add --no-cache --update \
unzip
WORKDIR /server
COPY index.js package* /server
COPY index.js package* tsconfig.server.json /server
COPY /scripts /server/scripts
COPY /server /server/server
@@ -39,7 +39,7 @@ RUN case "$TARGETPLATFORM" in \
unzip /tmp/library.zip -d $NUSQLITE3_DIR && \
rm /tmp/library.zip
RUN npm ci && npm run build:server && npm prune --omit=dev
RUN npm ci --include=dev && npm run build:server && npm prune --omit=dev
### STAGE 2: Create minimal runtime image ###
FROM node:20-alpine