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
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 3m5s
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user