Download docker/cdk.Dockerfile from opendigital/agent-flow: direct link, hf CLI and curl.
- Browser
- Download file 627 Bytes
-
https://huggingface.co/opendigital/agent-flow/resolve/main/docker/cdk.Dockerfile
- Command line
-
hf download hf://opendigital/agent-flow/docker/cdk.Dockerfile
-
curl -L -o cdk.Dockerfile https://huggingface.co/opendigital/agent-flow/resolve/main/docker/cdk.Dockerfile
627 Bytes
| FROM --platform=linux/amd64 python:3.10-slim | |
| WORKDIR /app | |
| # Install Poetry | |
| RUN apt-get update && apt-get install gcc g++ curl build-essential postgresql-server-dev-all -y | |
| RUN curl -sSL https://install.python-poetry.org | python3 - | |
| # # Add Poetry to PATH | |
| ENV PATH="${PATH}:/root/.local/bin" | |
| # # Copy the pyproject.toml and poetry.lock files | |
| COPY poetry.lock pyproject.toml ./ | |
| # Copy the rest of the application codes | |
| COPY ./ ./ | |
| # Install dependencies | |
| RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi | |
| RUN poetry add botocore | |
| RUN poetry add pymysql | |
| CMD ["sh", "./container-cmd-cdk.sh"] | |