Spaces:
Runtime error
Runtime error
Download Dockerfile from ProfRick/coreconcept-review: direct link, hf CLI and curl.
- Browser
- Download file 541 Bytes
-
https://huggingface.co/spaces/ProfRick/coreconcept-review/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ProfRick/coreconcept-review/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ProfRick/coreconcept-review/resolve/main/Dockerfile
541 Bytes
| FROM python:3.11-slim | |
| # Minimal system deps helpful for wheels/compiles | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| build-essential \ | |
| libjpeg62-turbo-dev \ | |
| zlib1g-dev \ | |
| libfreetype6-dev \ | |
| libpng-dev \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| RUN pip install --upgrade pip setuptools wheel | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["bash","-lc","streamlit run app.py --server.port=$PORT --server.address=0.0.0.0"] | |