Spaces:
Runtime error
Runtime error
Download dockerfile from gopichandra/NEWSETA: direct link, hf CLI and curl.
- Browser
- Download file 693 Bytes
-
https://huggingface.co/spaces/gopichandra/NEWSETA/resolve/main/dockerfile
- Command line
-
hf download hf://spaces/gopichandra/NEWSETA/dockerfile
-
curl -L -o dockerfile https://huggingface.co/spaces/gopichandra/NEWSETA/resolve/main/dockerfile
693 Bytes
| # Start with the official Python 3.10 base image | |
| FROM python:3.10 | |
| # Install system dependencies including OpenSSL 1.1 | |
| RUN apt-get update && apt-get install -y \ | |
| libssl1.1 \ | |
| libssl-dev \ | |
| git \ | |
| git-lfs \ | |
| ffmpeg \ | |
| libsm6 \ | |
| libxext6 \ | |
| cmake \ | |
| rsync \ | |
| libgl1-mesa-glx \ | |
| curl \ | |
| nodejs \ | |
| && rm -rf /var/lib/apt/lists/* \ | |
| && git lfs install | |
| # Set working directory | |
| WORKDIR /home/user/app | |
| # Copy the requirements.txt file into the container | |
| COPY requirements.txt /tmp/requirements.txt | |
| # Install Python dependencies | |
| RUN pip install --no-cache-dir -r /tmp/requirements.txt | |
| # Expose the port | |
| EXPOSE 7860 | |
| # Run the app | |
| CMD ["python", "app.py"] | |