Download services/preprocessing_service/Dockerfile from Varshithdharmajv/mvm2-math-verification: direct link, hf CLI and curl.
- Browser
- Download file 269 Bytes
-
https://huggingface.co/spaces/Varshithdharmajv/mvm2-math-verification/resolve/main/services/preprocessing_service/Dockerfile
- Command line
-
hf download hf://spaces/Varshithdharmajv/mvm2-math-verification/services/preprocessing_service/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Varshithdharmajv/mvm2-math-verification/resolve/main/services/preprocessing_service/Dockerfile
269 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # Run pytest during build | |
| RUN pytest test_main.py | |
| EXPOSE 8001 | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8001"] | |