Spaces:
Sleeping
Sleeping
Download Dockerfile from Daniel-Promatix/AvidityLab: direct link, hf CLI and curl.
- Browser
- Download file 472 Bytes
-
https://huggingface.co/spaces/Daniel-Promatix/AvidityLab/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Daniel-Promatix/AvidityLab/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Daniel-Promatix/AvidityLab/resolve/main/Dockerfile
472 Bytes
| # Use official Python image | |
| FROM python:3.10-slim | |
| # Set working directory | |
| WORKDIR /code | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Copy files into container | |
| COPY . /code | |
| # Install Python dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose default port | |
| EXPOSE 7860 | |
| # Run the Solara app | |
| CMD ["solara", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"] | |