Spaces:
Sleeping
Sleeping
Restructure to flat template layout; add pyproject + uv.lock; pass openenv validate
30c52ad verified Download Dockerfile from yashppawar/disk-panic-openenv: direct link, hf CLI and curl.
- Browser
- Download file 377 Bytes
-
https://huggingface.co/spaces/yashppawar/disk-panic-openenv/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/yashppawar/disk-panic-openenv/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/yashppawar/disk-panic-openenv/resolve/main/Dockerfile
377 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PORT=8000 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY __init__.py models.py client.py openenv.yaml README.md pyproject.toml ./ | |
| COPY server ./server | |
| EXPOSE 8000 | |
| CMD ["sh", "-c", "uvicorn server.app:app --host 0.0.0.0 --port ${PORT:-8000}"] | |