Spaces:
Sleeping
Sleeping
Download Dockerfile from testa1000-7/back_cu: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/spaces/testa1000-7/back_cu/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/testa1000-7/back_cu/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/testa1000-7/back_cu/resolve/main/Dockerfile
361 Bytes
| FROM python:3.12-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PIP_NO_CACHE_DIR=1 \ | |
| PORT=8000 \ | |
| APP_DATA_DIR=/app/data \ | |
| APP_MODULE=main3:app | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 8000 | |
| CMD ["sh", "-c", "uvicorn ${APP_MODULE} --host 0.0.0.0 --port ${PORT}"] | |