Spaces:
Sleeping
Sleeping
Download Dockerfile from Dar3devil/customer-support-openenv: direct link, hf CLI and curl.
- Browser
- Download file 387 Bytes
-
https://huggingface.co/spaces/Dar3devil/customer-support-openenv/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Dar3devil/customer-support-openenv/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Dar3devil/customer-support-openenv/resolve/main/Dockerfile
387 Bytes
| FROM python:3.12-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PORT=8000 | |
| WORKDIR /app | |
| COPY pyproject.toml README.md openenv.yaml ./ | |
| COPY support_ticket_env ./support_ticket_env | |
| COPY server ./server | |
| COPY inference.py ./inference.py | |
| RUN pip install --no-cache-dir --upgrade pip && \ | |
| pip install --no-cache-dir . | |
| EXPOSE 8000 | |
| CMD ["python", "-m", "server.app"] | |