Spaces:
Sleeping
Sleeping
Download Dockerfile from Syntrex/KasperStocks: direct link, hf CLI and curl.
- Browser
- Download file 433 Bytes
-
https://huggingface.co/spaces/Syntrex/KasperStocks/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Syntrex/KasperStocks/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Syntrex/KasperStocks/resolve/main/Dockerfile
433 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PIP_NO_CACHE_DIR=1 \ | |
| PORT=8501 | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| bash \ | |
| ca-certificates \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt ./ | |
| RUN pip install --upgrade pip && pip install -r requirements.txt | |
| COPY . . | |
| RUN chmod +x /app/start.sh | |
| EXPOSE 8501 | |
| CMD ["/app/start.sh"] | |