fix: warning when building web (#5680)

This commit is contained in:
martin 2023-12-13 18:02:26 +01:00 committed by GitHub
parent e5e6fcc46d
commit f13dce7d0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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",