Start-Command für Production hinzufügen

This commit is contained in:
2026-08-30 11:47:44 +02:00
parent 12c0754341
commit f726c53c71
+1 -7
View File
@@ -12,13 +12,7 @@ RUN npm run build
FROM base AS runtime
COPY --from=build /app/.output ./.output
COPY --from=build /app/node_modules ./node_modules
COPY --from=build /app/scripts ./scripts
COPY --from=build /app/src/db ./src/db
COPY --from=build /app/src/lib ./src/lib
COPY package.json ./
ENV NODE_ENV=production
EXPOSE 3000
COPY entrypoint.sh ./
RUN chmod +x entrypoint.sh
CMD ["./entrypoint.sh"]
CMD ["node", ".output/server/index.mjs"]