feat(frontend): ajout du dockerfile

This commit is contained in:
ineszang
2026-09-15 09:39:23 +02:00
parent 06a8ae42d2
commit 39b1daea51
+15
View File
@@ -0,0 +1,15 @@
# Image pour frontend
FROM node:24-alpine
WORKDIR /app
COPY package.json package-lock.json* ./
# Installation des dépendances du projet avec npm
RUN --mount=type=cache,target=/root/.npm npm ci
# Copie du code source vers le conteneur
COPY . .
# Build
RUN npm run build