Spaces:
Runtime error
Runtime error
Commit
·
c8eec02
1
Parent(s):
2f1e30c
add dockerfile , add pydantic to requirements.txt
Browse files- Dockerfile +5 -0
- requirements.txt +1 -0
Dockerfile
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.12.7-slim
|
| 2 |
+
WORKDIR /app
|
| 3 |
+
COPY . /app
|
| 4 |
+
RUN pip install -r requirements.txt
|
| 5 |
+
CMD ["sh", "-c", "python app.py & python src/evaluator/run_evaluator.py"]
|
requirements.txt
CHANGED
|
@@ -12,6 +12,7 @@ numpy
|
|
| 12 |
pandas>=2.3.0
|
| 13 |
python-dateutil>=2.9.0.post0
|
| 14 |
python-dotenv>=1.1.1
|
|
|
|
| 15 |
scikit-learn>=1.7.0
|
| 16 |
sentencepiece>=0.2.0
|
| 17 |
tokenizers>=0.15.0
|
|
|
|
| 12 |
pandas>=2.3.0
|
| 13 |
python-dateutil>=2.9.0.post0
|
| 14 |
python-dotenv>=1.1.1
|
| 15 |
+
pydantic>=2.11.7
|
| 16 |
scikit-learn>=1.7.0
|
| 17 |
sentencepiece>=0.2.0
|
| 18 |
tokenizers>=0.15.0
|