Download docker/Dockerfile from Majen/new_model: direct link, hf CLI and curl.
- Browser
- Download file 282 Bytes
-
https://huggingface.co/spaces/Majen/new_model/resolve/main/docker/Dockerfile
- Command line
-
hf download hf://spaces/Majen/new_model/docker/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Majen/new_model/resolve/main/docker/Dockerfile
282 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PORT=7860 | |
| COPY requirements.txt ./ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"] | |