Download Dockerfile from umuth/Iconator: direct link, hf CLI and curl.
- Browser
- Download file 391 Bytes
-
https://huggingface.co/spaces/umuth/Iconator/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/umuth/Iconator/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/umuth/Iconator/resolve/main/Dockerfile
391 Bytes
| FROM python:3.10 | |
| # Install potrace and other system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| potrace \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Set the working directory | |
| WORKDIR /app | |
| # Copy the application files | |
| COPY . . | |
| # Install Python dependencies | |
| RUN pip install --upgrade pip | |
| RUN pip install -r requirements.txt | |
| # Run the Gradio application | |
| CMD ["python", "app.py"] | |