From 802f2b6c32f6a013a8e800fe23645cafe2633b25 Mon Sep 17 00:00:00 2001 From: Jan Felix Wiebe Date: Fri, 13 Jun 2025 23:11:59 +0200 Subject: [PATCH] fixed a bug --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index df2ec51..5841703 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file +CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "1", "app:app"] \ No newline at end of file diff --git a/README.md b/README.md index 459d4e0..61af3ab 100644 --- a/README.md +++ b/README.md @@ -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