Spaces:
Sleeping
Sleeping
Download Dockerfile from NiviruIns/ai-commit-server: direct link, hf CLI and curl.
- Browser
- Download file 317 Bytes
-
https://huggingface.co/spaces/NiviruIns/ai-commit-server/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/NiviruIns/ai-commit-server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/NiviruIns/ai-commit-server/resolve/main/Dockerfile
317 Bytes
| FROM python:3.9 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| # Install dependencies | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| # Copy the app and the model folder | |
| COPY . . | |
| # Grant permissions (required by HF) | |
| RUN chmod -R 777 /code | |
| CMD ["python", "app.py"] |