Download Dockerfile from AccelerationConsortium/IvoryOS: direct link, hf CLI and curl.
- Browser
- Download file 292 Bytes
-
https://huggingface.co/spaces/AccelerationConsortium/IvoryOS/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/AccelerationConsortium/IvoryOS/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/AccelerationConsortium/IvoryOS/resolve/main/Dockerfile
292 Bytes
| # Dockerfile (updated) | |
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Copy all project files | |
| COPY . /app | |
| # Change ownership to allow writing | |
| RUN chmod -R a+w /app | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose default port | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |