Update Dockerfile to streamline command execution by removing the database seeding step from the CMD instruction, simplifying the deployment process.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 3m5s

This commit is contained in:
Julien Froidefond
2026-02-20 13:36:41 +01:00
parent 65fee6baf7
commit 04d5a9b9c2

View File

@@ -48,4 +48,4 @@ RUN apt-get update -y && apt-get install -y gosu && rm -rf /var/lib/apt/lists/*
&& chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["sh", "-c", "npx prisma migrate deploy && npx prisma db seed && node server.js"]
CMD ["sh", "-c", "npx prisma migrate deploy && node server.js"]