diff --git a/docker/Dockerfile-gunicorn b/docker/Dockerfile-gunicorn index 73bc24efc..3a608025b 100644 --- a/docker/Dockerfile-gunicorn +++ b/docker/Dockerfile-gunicorn @@ -11,4 +11,4 @@ RUN pip3 install -r requirements.txt RUN rm -rf /var/lib/apt/lists/* -ENTRYPOINT ["/bin/gunicorn", "--workers=2", "--log-file=-", "--worker-tmp-dir=/dev/shm", "--threads=4", "--worker-class=gthread", "--bind", "unix:/tmp/green-coding-api.sock", "-m", "007", "--user", "www-data", "--chdir", "/var/www/green-metrics-tool/api", "-k", "uvicorn.workers.UvicornWorker", "api:app"] \ No newline at end of file +ENTRYPOINT ["/bin/gunicorn", "--workers=2", "--access-logfile=-", "--error-logfile=-", "--worker-tmp-dir=/dev/shm", "--threads=4", "--worker-class=gthread", "--bind", "unix:/tmp/green-coding-api.sock", "-m", "007", "--user", "www-data", "--chdir", "/var/www/green-metrics-tool/api", "-k", "uvicorn.workers.UvicornWorker", "api:app"] \ No newline at end of file diff --git a/docker/requirements.txt b/docker/requirements.txt index 31ffe24af..d043d7ca2 100644 --- a/docker/requirements.txt +++ b/docker/requirements.txt @@ -1,12 +1,9 @@ psycopg[binary]==3.1.9 fastapi==0.100.1 -uvicorn[standard]==0.23.1 +pandas==2.0.3 +PyYAML==6.0.1 anybadge==1.14.0 scipy==1.11.1 orjson==3.9.2 - -PyYAML==6.0.1 -pandas==2.0.3 -psycopg[binary]==3.1.9 pyserial==3.5 psutil==5.9.5 \ No newline at end of file