diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..82f7ea43 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM python:3.11.10-slim + +ENV PYTHONUNBUFFERED 1 + +WORKDIR /usr/src/validator + +COPY validator/production.txt ./requirements.txt +RUN pip install -r requirements.txt + +COPY validator . + +CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 api:app diff --git a/validator/production.txt b/validator/production.txt new file mode 100644 index 00000000..ab079ddd --- /dev/null +++ b/validator/production.txt @@ -0,0 +1,26 @@ +absl-py==2.3.0 +annotated-types==0.7.0 +blinker==1.9.0 +click==8.2.1 +Flask==3.1.1 +flask-cors==6.0.0 +gunicorn==23.0.0 +immutabledict==4.2.1 +itsdangerous==2.2.0 +Jinja2==3.1.6 +MarkupSafe==3.0.2 +numpy==2.2.6 +ortools==9.12.4544 +packaging==25.0 +pandas==2.2.3 +protobuf==5.29.5 +pydantic==2.11.5 +pydantic_core==2.33.2 +python-dateutil==2.9.0.post0 +python-dotenv==1.1.0 +pytz==2025.2 +sentry-sdk==2.32.0 +six==1.17.0 +typing_extensions==4.14.0 +tzdata==2025.2 +Werkzeug==3.1.3