Initial commit

This commit is contained in:
2024-12-27 22:54:05 +01:00
commit 024834d309
46 changed files with 14574 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"]