Spaces:
Running
Running
Download Dockerfile from sungho7373/dark-pattern-auditor: direct link, hf CLI and curl.
- Browser
- Download file 479 Bytes
-
https://huggingface.co/spaces/sungho7373/dark-pattern-auditor/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/sungho7373/dark-pattern-auditor/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sungho7373/dark-pattern-auditor/resolve/main/Dockerfile
479 Bytes
| # ์์ Dockerfile ํต์ฌ ๋ด์ฉ | |
| FROM python:3.11 | |
| # ์์คํ ํจํค์ง ์ค์น (packages.txt๊ฐ ์๋ค๋ฉด ํ์ฉ) | |
| RUN apt-get update && apt-get install -y $(cat packages.txt) | |
| WORKDIR /code | |
| COPY . . | |
| # ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋ฐ ๋ธ๋ผ์ฐ์ ์ค์น | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| RUN playwright install --with-deps chromium | |
| # ํฌํธ ์ค์ (ํ๊น ํ์ด์ค ๊ธฐ๋ณธ๊ฐ) | |
| EXPOSE 7860 | |
| # ์คํ ๋ช ๋ น (myapp ํด๋ ์์ app.py ์คํ) | |
| CMD ["python", "myapp/app.py"] |