diff --git a/Dockerfile b/Dockerfile index e558433..786626b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,3 @@ -# Stage de build FROM node:20-alpine AS build WORKDIR /app @@ -9,15 +8,5 @@ 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 ./ - -RUN pnpm install --prod --frozen-lockfile - EXPOSE 3000 CMD ["node", ".output/server/index.mjs"]