Download hub/Dockerfile from wumaster/MEP: direct link, hf CLI and curl.
- Browser
- Download file 273 Bytes
-
https://huggingface.co/wumaster/MEP/resolve/main/hub/Dockerfile
- Command line
-
hf download hf://wumaster/MEP/hub/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/wumaster/MEP/resolve/main/hub/Dockerfile
273 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy source code | |
| COPY . . | |
| # Expose port | |
| EXPOSE 8000 | |
| # Run Uvicorn | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"] | |