Spaces:
Sleeping
Sleeping
Download server/Dockerfile from harsharajkumar273/cleanops-openenv: direct link, hf CLI and curl.
- Browser
- Download file 275 Bytes
-
https://huggingface.co/spaces/harsharajkumar273/cleanops-openenv/resolve/main/server/Dockerfile
- Command line
-
hf download hf://spaces/harsharajkumar273/cleanops-openenv/server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/harsharajkumar273/cleanops-openenv/resolve/main/server/Dockerfile
275 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| COPY . /app | |
| RUN pip install --no-cache-dir --upgrade pip && \ | |
| pip install --no-cache-dir . | |
| EXPOSE 8000 | |
| CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "8000"] | |