diff --git a/scripts/docker/Dockerfile b/scripts/docker/Dockerfile index 738867a954..b158e2db04 100644 --- a/scripts/docker/Dockerfile +++ b/scripts/docker/Dockerfile @@ -20,3 +20,9 @@ RUN apt-get update && apt-get install -y \ COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv ENV UV_SYSTEM_PYTHON=1 + +COPY . /code + +WORKDIR /code + +RUN uv pip install -r requirements.txt diff --git a/scripts/docker/compose.yaml b/scripts/docker/compose.yaml index 0f9d960d34..efe17f9efd 100644 --- a/scripts/docker/compose.yaml +++ b/scripts/docker/compose.yaml @@ -1,7 +1,8 @@ services: typer: - build: . + build: + context: ../../ + dockerfile: scripts/docker/Dockerfile volumes: - ../../:/code - working_dir: /code command: sleep infinity