ADD: startup reworked

This commit is contained in:
hwinkel
2026-03-13 12:14:04 +01:00
parent 71ff97f302
commit 12d78f6532
3 changed files with 16 additions and 11 deletions
+3 -1
View File
@@ -32,7 +32,9 @@ COPY --from=builder /app/node_modules/.prisma ./node_modules/.prisma
COPY --from=builder /app/build ./build
COPY --from=builder /app/scripts-dist ./scripts
COPY prisma ./prisma
COPY scripts/entrypoint.sh ./entrypoint.sh
RUN chmod +x ./entrypoint.sh
EXPOSE 3000
CMD ["npm", "run", "start"]
ENTRYPOINT ["./entrypoint.sh"]