Download tasks/data/forward/adobe__dy-sql.0ebb317/workspace/Dockerfile from Lego-X/ProgramGen: direct link, hf CLI and curl.
- Browser
- Download file 450 Bytes
-
https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/forward/adobe__dy-sql.0ebb317/workspace/Dockerfile
- Command line
-
hf download hf://datasets/Lego-X/ProgramGen/tasks/data/forward/adobe__dy-sql.0ebb317/workspace/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/forward/adobe__dy-sql.0ebb317/workspace/Dockerfile
450 Bytes
| ARG python_version | |
| FROM python:${python_version}-alpine | |
| RUN apk add gcc musl-dev libffi-dev openssl-dev git | |
| WORKDIR /app | |
| # Install uv | |
| COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/ | |
| # Install dependencies first to leverage Docker cache | |
| COPY pyproject.toml uv.lock README.rst /app/ | |
| RUN uv sync --locked --no-install-project --no-dev | |
| # Install the project separately for optimal layer caching | |
| COPY dysql /app/dysql | |
| RUN uv sync --locked --no-dev |