Spaces:
Running
Running
Download Dockerfile from eddmpython/dartlab: direct link, hf CLI and curl.
- Browser
- Download file 622 Bytes
-
https://huggingface.co/spaces/eddmpython/dartlab/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/eddmpython/dartlab/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/eddmpython/dartlab/resolve/main/Dockerfile
622 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| # ๋น๋ ๋๊ตฌ (lxml ๋ฑ) | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| gcc g++ libxml2-dev libxslt1-dev \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN pip install --no-cache-dir uv | |
| # ์์ค ๋ณต์ฌ (LICENSE + PROJECT_README โ hatchling ๋น๋ ํ์) | |
| COPY pyproject.toml uv.lock LICENSE ./ | |
| COPY PROJECT_README.md README.md | |
| COPY src/ src/ | |
| # ์ค์น | |
| RUN uv pip install --system . | |
| ENV SPACE_ID=eddmpython/dartlab | |
| ENV DARTLAB_MCP_HTTP=1 | |
| ENV DARTLAB_CORS_ORIGINS=* | |
| ENV DARTLAB_HOST=0.0.0.0 | |
| ENV DARTLAB_PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["python", "-m", "dartlab.server"] | |