Spaces:
Runtime error
Runtime error
Download Dockerfile from KaustavMP/NetWokie-AI: direct link, hf CLI and curl.
- Browser
- Download file 441 Bytes
-
https://huggingface.co/spaces/KaustavMP/NetWokie-AI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/KaustavMP/NetWokie-AI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/KaustavMP/NetWokie-AI/resolve/main/Dockerfile
441 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| STREAMLIT_BROWSER_GATHER_USAGE_STATS=false | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade pip \ | |
| && pip install --no-cache-dir -r /app/requirements.txt | |
| COPY . /app | |
| EXPOSE 8501 | |
| CMD ["streamlit", "run", "streamlit_app.py", "--server.address=0.0.0.0", "--server.port=8501", "--server.headless=true"] | |