From f8a6c7f165a102180045b8807a90933c937a6715 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 25 Oct 2025 21:55:52 +0000 Subject: [PATCH] fix(docker): Ensure /install directory is created in builder stage The Docker build was failing in the GitHub Actions workflow because the /install directory was not being created in the builder stage when there were no production dependencies. This change ensures the directory is always created, preventing the COPY command from failing. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bad4492..697748f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,8 @@ COPY pyproject.toml poetry.lock* ./ COPY src/ ./src/ # Export dependencies and install them -RUN poetry export -f requirements.txt --output requirements.txt --without-hashes && \ +RUN mkdir -p /install && \ + poetry export -f requirements.txt --output requirements.txt --without-hashes && \ pip install --no-cache-dir --prefix="/install" -r requirements.txt