Spaces:
Sleeping
Sleeping
Download server/Dockerfile from dakshdoesdev/unified-incident-env: direct link, hf CLI and curl.
- Browser
- Download file 444 Bytes
-
https://huggingface.co/spaces/dakshdoesdev/unified-incident-env/resolve/main/server/Dockerfile
- Command line
-
hf download hf://spaces/dakshdoesdev/unified-incident-env/server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/dakshdoesdev/unified-incident-env/resolve/main/server/Dockerfile
444 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| ENABLE_WEB_INTERFACE=true | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| build-essential \ | |
| curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| 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"] | |