Spaces:
Running
Running
Download Dockerfile from sociate/cascade-review: direct link, hf CLI and curl.
- Browser
- Download file 337 Bytes
-
https://huggingface.co/spaces/sociate/cascade-review/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/sociate/cascade-review/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sociate/cascade-review/resolve/main/Dockerfile
337 Bytes
| FROM python:3.12-slim | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user PATH=/home/user/.local/bin:$PATH PYTHONUNBUFFERED=1 | |
| WORKDIR /home/user/app | |
| RUN pip install --no-cache-dir --user openpyxl==3.1.5 huggingface_hub==1.28.0 | |
| COPY --chown=user app.py review_server.py build_report_excel.py ./ | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |