Download Dockerfile from 77ethers/gridops: direct link, hf CLI and curl.
- Browser
- Download file 515 Bytes
-
https://huggingface.co/spaces/77ethers/gridops/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/77ethers/gridops/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/77ethers/gridops/resolve/main/Dockerfile
515 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install deps first (cached layer) | |
| COPY pyproject.toml ./ | |
| RUN pip install --no-cache-dir numpy pydantic fastapi "uvicorn[standard]" websockets openai requests openenv-core | |
| # Copy app code | |
| COPY gridops/ gridops/ | |
| COPY server/ server/ | |
| COPY assets/ assets/ | |
| COPY evals/ evals/ | |
| COPY inference.py openenv.yaml README.md ./ | |
| COPY scripts/ scripts/ | |
| EXPOSE 8000 | |
| ENV WORKERS=1 | |
| ENV MAX_CONCURRENT_ENVS=10 | |
| CMD ["uvicorn", "gridops.server.app:app", "--host", "0.0.0.0", "--port", "8000"] | |