re init CI with docker rmi
Some checks failed
Deploy App / deploy (push) Has been cancelled

This commit is contained in:
valere
2025-09-18 15:01:41 +02:00
parent 403afdfbc3
commit 5912b97349
2 changed files with 12 additions and 31 deletions

View File

@@ -1,3 +1,4 @@
# Stage de build
FROM node:20-alpine AS build
WORKDIR /app
@@ -8,5 +9,14 @@ RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpm build
# Stage production
FROM node:20-alpine
WORKDIR /app
COPY --from=build /app/.output .output
COPY --from=build /app/package.json ./
COPY --from=build /app/node_modules ./node_modules
EXPOSE 3000
CMD ["node", ".output/server/index.mjs"]