Spaces:
Runtime error
Runtime error
Download Dockerfile from Entity12208/ai_server: direct link, hf CLI and curl.
- Browser
- Download file 248 Bytes
-
https://huggingface.co/spaces/Entity12208/ai_server/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Entity12208/ai_server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Entity12208/ai_server/resolve/main/Dockerfile
248 Bytes
| # Dockerfile | |
| FROM python:3.10-slim | |
| WORKDIR /code | |
| COPY requirements.txt /code/ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . /code/ | |
| # Run FastAPI server on port 7860 | |
| CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "8080"] | |