Spaces:
Sleeping
Sleeping
Download Dockerfile from Arcelily/simple-qa-app: direct link, hf CLI and curl.
- Browser
- Download file 357 Bytes
-
https://huggingface.co/spaces/Arcelily/simple-qa-app/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Arcelily/simple-qa-app/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Arcelily/simple-qa-app/resolve/main/Dockerfile
357 Bytes
| # Use Hugging Face Space minimal image | |
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Copy files | |
| COPY . /app | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose Streamlit port | |
| ENV PORT 8501 | |
| ENV STREAMLIT_SERVER_ENABLECORS "false" | |
| CMD ["streamlit", "run", "streamlit_app.py", "--server.port", "8501", "--server.address", "0.0.0.0"] | |