Spaces:
Sleeping
Sleeping
Download Dockerfile from TheCrustaceans/Pm-ops: direct link, hf CLI and curl.
- Browser
- Download file 275 Bytes
-
https://huggingface.co/spaces/TheCrustaceans/Pm-ops/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/TheCrustaceans/Pm-ops/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/TheCrustaceans/Pm-ops/resolve/main/Dockerfile
275 Bytes
| FROM ghcr.io/meta-pytorch/openenv-base:latest | |
| WORKDIR /app | |
| COPY . . | |
| RUN pip install --no-cache-dir openenv-core fastapi "uvicorn[standard]" pydantic | |
| ENV PYTHONPATH=/app | |
| EXPOSE 8000 | |
| CMD ["python", "-m", "uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "8000"] | |