fixed a bug

This commit is contained in:
Jan Felix Wiebe 2025-06-13 23:11:59 +02:00
parent 17cd6ae30f
commit 802f2b6c32
2 changed files with 2 additions and 2 deletions

View file

@ -21,4 +21,4 @@ ENV FLASK_APP=app.py
ENV FLASK_ENV=production
# Command to run the application with gunicorn
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "4", "app:app"]
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "1", "app:app"]

View file

@ -83,7 +83,7 @@ curl -X POST http://localhost:5000/state \
# For production-like environment (using Gunicorn)
export SPACEAPI_TOKEN=your-token-here
gunicorn --bind 0.0.0.0:5000 --workers 4 app:app
gunicorn --bind 0.0.0.0:5000 --workers 1 app:app
```
## License