dockerfile
Build and Deploy / build (push) Successful in 47s
Build and Deploy / deploy (push) Successful in 10s

This commit is contained in:
2026-05-29 19:22:53 +02:00
parent 15694e971e
commit dd028ecdc3
+1 -1
View File
@@ -12,7 +12,7 @@ FROM node:22-alpine AS runtime
WORKDIR /app WORKDIR /app
ENV NODE_ENV=production ENV NODE_ENV=production
COPY package*.json ./ COPY package*.json ./
RUN npm ci --omit=dev && npm cache clean --force RUN npm install --omit=dev && npm cache clean --force
COPY --from=build /app/dist ./dist COPY --from=build /app/dist ./dist
EXPOSE 3000 EXPOSE 3000
CMD ["node", "dist/index.js"] CMD ["node", "dist/index.js"]