Initial commit

This commit is contained in:
2025-05-06 12:38:01 +00:00
commit c92637aba4
49 changed files with 14963 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
FROM node:lts-alpine AS build-stage
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npx nest build
# étape de production
FROM node:lts-alpine AS production-stage
WORKDIR /app
COPY --from=build-stage /app/dist/ /app
COPY --from=build-stage /app/node_modules/ /app/node_modules
EXPOSE 8765
CMD ["node", "main"]