diff --git a/Dockerfile b/Dockerfile index 0973ffb..cd48383 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,12 +22,13 @@ WORKDIR /app/app ENV UWSGI_HTTP :8000 ENV UWSGI_MODULE app:application -ENV UWSGI_PROCESSES 8 +ENV UWSGI_PROCESSES 1 +ENV UWSGI_THREADS 4 ENV UWSGI_MASTER 1 ENV UWSGI_OFFLOAD_THREADS 1 ENV UWSGI_HARAKIRI 25 -CMD uwsgi +CMD ["uwsgi"] FROM signals-classification-base AS signals-classification-train