remove health
This commit is contained in:
@@ -37,9 +37,6 @@ USER nodejs
|
||||
EXPOSE 3001
|
||||
|
||||
RUN npx prisma generate
|
||||
# 健康检查
|
||||
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
||||
CMD curl -f http://localhost:3001/health || exit 1
|
||||
|
||||
# 启动命令
|
||||
CMD [ "sh", "-c", "npm run db:push && npm run db:seed && npm run start" ]
|
||||
Reference in New Issue
Block a user