From f13dce7d0d58a2cb55a01bf60fb12e6ec0c6db3e Mon Sep 17 00:00:00 2001 From: martin <74269598+martabal@users.noreply.github.com> Date: Wed, 13 Dec 2023 18:02:26 +0100 Subject: [PATCH] fix: warning when building web (#5680) --- server/Dockerfile | 2 +- web/package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/server/Dockerfile b/server/Dockerfile index cf1cce299c..e18d02c0db 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -23,7 +23,7 @@ COPY --from=dev /usr/src/app/node_modules/@img ./node_modules/@img FROM node:iron-alpine3.18 as web WORKDIR /usr/src/app -COPY web/package.json web/package-lock.json ./ +COPY web/package*.json web/svelte.config.js . RUN npm ci COPY web . RUN npm run build diff --git a/web/package.json b/web/package.json index db7b2e8cf1..0bf24793e9 100644 --- a/web/package.json +++ b/web/package.json @@ -17,7 +17,8 @@ "format:fix": "prettier --write .", "test": "jest", "test:cov": "jest --coverage", - "test:watch": "npm test -- --watch" + "test:watch": "npm test -- --watch", + "prepare": "svelte-kit sync" }, "devDependencies": { "@babel/preset-env": "^7.20.2",