first commit

This commit is contained in:
Louis-Sinan
2025-12-21 12:22:16 +01:00
commit c9daaddb77
34 changed files with 1735 additions and 0 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:20-slim AS base
WORKDIR /app
COPY package*.json ./
FROM base AS dependencies
RUN npm install
FROM dependencies AS build
COPY . .
RUN npm run build
# Production stage
FROM base AS release
COPY --from=dependencies /app/node_modules ./node_modules
COPY --from=build /app/dist ./dist
CMD ["node", "dist/index.js"]