Download Dockerfile from Zhuohan/finreason-task1-development: direct link, hf CLI and curl.
- Browser
- Download file 505 Bytes
-
https://huggingface.co/spaces/Zhuohan/finreason-task1-development/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Zhuohan/finreason-task1-development/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Zhuohan/finreason-task1-development/resolve/main/Dockerfile
505 Bytes
| FROM python:3.11-slim@sha256:1042b61448fef4ba92d16a8c7eb4996d027568ce64792a7877fd88511e0af7c6 | |
| ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 PIP_NO_CACHE_DIR=1 | |
| RUN groupadd --gid 10001 finreason && useradd --uid 10001 --gid 10001 --create-home --home-dir /home/finreason finreason | |
| WORKDIR /app | |
| COPY requirements.txt /app/requirements.txt | |
| RUN python -m pip install --disable-pip-version-check -r /app/requirements.txt | |
| COPY --chown=10001:10001 . /app | |
| USER 10001:10001 | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |