Spaces:
Paused
Paused
Download Dockerfile from PYAE1994/openhands-backend: direct link, hf CLI and curl.
- Browser
- Download file 238 Bytes
-
https://huggingface.co/spaces/PYAE1994/openhands-backend/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/PYAE1994/openhands-backend/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/PYAE1994/openhands-backend/resolve/main/Dockerfile
238 Bytes
| FROM python:3.12-slim | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV PORT=7860 | |
| WORKDIR /app | |
| RUN pip install --no-cache-dir fastapi uvicorn httpx pydantic | |
| COPY server.py . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"] | |