Spaces:
Sleeping
Sleeping
Download Dockerfile from Prerna43/Shopify_AI: direct link, hf CLI and curl.
- Browser
- Download file 522 Bytes
-
https://huggingface.co/spaces/Prerna43/Shopify_AI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Prerna43/Shopify_AI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Prerna43/Shopify_AI/resolve/main/Dockerfile
522 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV PIP_NO_CACHE_DIR=1 | |
| ENV API_BASE_URL=http://127.0.0.1:8000 | |
| ENV STREAMLIT_SERVER_HEADLESS=true | |
| ENV STREAMLIT_BROWSER_GATHER_USAGE_STATS=false | |
| WORKDIR /app | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends build-essential curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip \ | |
| && pip install -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["sh", "deployment/start-hf.sh"] | |