Download Dockerfile from ElonCoding/Airport-Flight-Scheduling-OpenEnv: direct link, hf CLI and curl.
- Browser
- Download file 423 Bytes
-
https://huggingface.co/spaces/ElonCoding/Airport-Flight-Scheduling-OpenEnv/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ElonCoding/Airport-Flight-Scheduling-OpenEnv/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ElonCoding/Airport-Flight-Scheduling-OpenEnv/resolve/main/Dockerfile
423 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install dependencies | |
| COPY pyproject.toml . | |
| RUN pip install --no-cache-dir \ | |
| fastapi>=0.110.0 \ | |
| uvicorn[standard]>=0.29.0 \ | |
| pydantic>=2.0.0 \ | |
| openai>=1.0.0 \ | |
| numpy>=1.24.0 \ | |
| openenv-core>=0.2.0 | |
| # Copy source | |
| COPY . . | |
| # HF Spaces runs on 7860 | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD | |