Spaces:
Sleeping
Sleeping
Download Dockerfile from sammoftah/llm-api-cost-optimizer: direct link, hf CLI and curl.
- Browser
- Download file 359 Bytes
-
https://huggingface.co/spaces/sammoftah/llm-api-cost-optimizer/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/sammoftah/llm-api-cost-optimizer/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sammoftah/llm-api-cost-optimizer/resolve/main/Dockerfile
359 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PIP_NO_CACHE_DIR=1 | |
| WORKDIR /app | |
| COPY requirements.txt ./requirements.txt | |
| RUN pip install --upgrade pip && pip install -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.headless=true"] | |