Spaces:
Running
Running
Download Dockerfile from FINAL-Bench/finchal: direct link, hf CLI and curl.
- Browser
- Download file 491 Bytes
-
https://huggingface.co/spaces/FINAL-Bench/finchal/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/FINAL-Bench/finchal/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/FINAL-Bench/finchal/resolve/main/Dockerfile
491 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN pip install --no-cache-dir --upgrade pip | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # ๐ด HF Space ์ปจํ ์ด๋๋ ์ฌ์์ํ๋ฉด ํ์ผ์ด ์ฌ๋ผ์ง๋ค. | |
| # ์์ฅ์ด ์ฌ๋ผ์ง๋ฉด ์์ฆ์ด ํต์งธ๋ก ์์ด์ง๋ค. ์์ ์คํ ๋ฆฌ์ง๋ฅผ ๋ฐ๋์ ์ฐ๊ฒฐํ๋ค. | |
| ENV FINCHAL_DATA=/data/finchal | |
| ENV PYTHONUNBUFFERED=1 | |
| EXPOSE 7860 | |
| CMD ["python","-m","uvicorn","app.main:app","--host","0.0.0.0","--port","7860"] | |