Initial commit

This commit is contained in:
Bastien COIGNOUX
2025-07-14 14:14:48 +02:00
commit f999b17150
31 changed files with 3018 additions and 0 deletions

22
svar-gantt-app/Dockerfile Normal file
View File

@ -0,0 +1,22 @@
# Étape 1: Build
FROM node:20 AS build
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# Étape 2: Runtime (production)
FROM node:20
WORKDIR /app
COPY --from=build /app ./
RUN npm install --omit=dev
EXPOSE 3000
CMD ["node", "build"]