Spaces:
Sleeping
Sleeping
Download deployment/Dockerfile.frontend from Prerna43/Shopify_AI: direct link, hf CLI and curl.
- Browser
- Download file 437 Bytes
-
https://huggingface.co/spaces/Prerna43/Shopify_AI/resolve/main/deployment/Dockerfile.frontend
- Command line
-
hf download hf://spaces/Prerna43/Shopify_AI/deployment/Dockerfile.frontend
-
curl -L -o Dockerfile.frontend https://huggingface.co/spaces/Prerna43/Shopify_AI/resolve/main/deployment/Dockerfile.frontend
437 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV PIP_NO_CACHE_DIR=1 | |
| ENV STREAMLIT_SERVER_HEADLESS=true | |
| ENV STREAMLIT_BROWSER_GATHER_USAGE_STATS=false | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip \ | |
| && pip install -r requirements.txt | |
| COPY app ./app | |
| EXPOSE 8501 | |
| CMD ["python", "-m", "streamlit", "run", "app/frontend.py", "--server.address", "0.0.0.0", "--server.port", "8501"] | |