fix: remove Dockerfile auto-resolve to prevent restart loop; deploy script handles cleanup
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 15s
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 15s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
ebcace0baf
commit
90b07179a3
@ -55,7 +55,7 @@ jobs:
|
||||
$MYSQL_CMD -e "DROP TABLE IF EXISTS AiUsageLog;" 2>/dev/null || true
|
||||
$MYSQL_CMD -e "DROP TABLE IF EXISTS WaitlistEntry;" 2>/dev/null || true
|
||||
|
||||
# Drop new columns from UploadedFile (ignore errors if they don't exist)
|
||||
# Drop new columns from UploadedFile (without IF EXISTS for MySQL < 8.0.29 compat)
|
||||
$MYSQL_CMD -e "ALTER TABLE UploadedFile DROP COLUMN objectKey;" 2>/dev/null || true
|
||||
$MYSQL_CMD -e "ALTER TABLE UploadedFile DROP COLUMN bucket;" 2>/dev/null || true
|
||||
|
||||
|
||||
@ -28,4 +28,4 @@ COPY --from=builder /app/package.json ./
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["sh", "-c", "npx prisma migrate resolve --rolled-back 20250518000000_add_objectkey_bucket_aiusage_waitlist 2>/dev/null || true; npx prisma migrate deploy && node dist/main.js"]
|
||||
CMD ["sh", "-c", "npx prisma migrate deploy && node dist/main.js"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user