fix: remet le verrou de dependances frontend d'aplomb
This commit is contained in:
@@ -7,8 +7,11 @@
|
|||||||
FROM node:22-alpine AS frontend
|
FROM node:22-alpine AS frontend
|
||||||
|
|
||||||
WORKDIR /frontend
|
WORKDIR /frontend
|
||||||
COPY frontend/package.json frontend/package-lock.json* ./
|
# `npm ci` (et non `npm install`) : l'image doit installer exactement l'arbre
|
||||||
RUN npm install
|
# du lock, sinon deux builds du même tag peuvent embarquer des dépendances
|
||||||
|
# différentes. Le lock n'est donc plus optionnel.
|
||||||
|
COPY frontend/package.json frontend/package-lock.json ./
|
||||||
|
RUN npm ci
|
||||||
COPY frontend/ ./
|
COPY frontend/ ./
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
|
|||||||
1135
frontend/package-lock.json
generated
1135
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -17,11 +17,11 @@
|
|||||||
"vue-router": "^4.6.4"
|
"vue-router": "^4.6.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vitejs/plugin-vue": "^5.0.4",
|
"@vitejs/plugin-vue": "^6.0.8",
|
||||||
"autoprefixer": "^10.4.18",
|
"autoprefixer": "^10.4.18",
|
||||||
"postcss": "^8.4.35",
|
"postcss": "^8.4.35",
|
||||||
"tailwindcss": "^3.4.1",
|
"tailwindcss": "^3.4.1",
|
||||||
"vite": "^5.1.6",
|
"vite": "^7.3.6",
|
||||||
"vitest": "^4.1.10"
|
"vitest": "^4.1.10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user