Spaces:
Configuration error
Configuration error
Download Dockerfile from gokaymeydan/sorting-algorithm-visualizer: direct link, hf CLI and curl.
- Browser
- Download file 318 Bytes
-
https://huggingface.co/spaces/gokaymeydan/sorting-algorithm-visualizer/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/gokaymeydan/sorting-algorithm-visualizer/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/gokaymeydan/sorting-algorithm-visualizer/resolve/main/Dockerfile
318 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 8501 | |
| CMD ["streamlit","run","app.py","--server.port=8501","--server.address=0.0.0.0"] |