fixed a bug
This commit is contained in:
parent
17cd6ae30f
commit
802f2b6c32
2 changed files with 2 additions and 2 deletions
|
@ -21,4 +21,4 @@ ENV FLASK_APP=app.py
|
||||||
ENV FLASK_ENV=production
|
ENV FLASK_ENV=production
|
||||||
|
|
||||||
# Command to run the application with gunicorn
|
# 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"]
|
|
@ -83,7 +83,7 @@ curl -X POST http://localhost:5000/state \
|
||||||
|
|
||||||
# For production-like environment (using Gunicorn)
|
# For production-like environment (using Gunicorn)
|
||||||
export SPACEAPI_TOKEN=your-token-here
|
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
|
## License
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue