feat: Enhance Stripe service to check for users table existence before altering
This commit is contained in:
@@ -48,5 +48,5 @@ EXPOSE 5000
|
||||
HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
|
||||
CMD curl -f http://localhost:5000/api/health || exit 1
|
||||
|
||||
# Run with Gunicorn
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "4", "--timeout", "120", "wsgi:app"]
|
||||
# Run with Gunicorn (--preload ensures DB tables are created once before forking workers)
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "4", "--timeout", "120", "--preload", "wsgi:app"]
|
||||
|
||||
Reference in New Issue
Block a user