From d5024ee0fa8acd06a6cbcdf453ae332d2d2b9ef9 Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Thu, 25 Dec 2025 21:58:55 -0800 Subject: [PATCH] fix dockerfile --- Dockerfile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 94b04f54..3964891b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,14 +30,21 @@ COPY --from=builder /arch/target/release/brightstaff /app/brightstaff COPY --from=envoy /usr/local/bin/envoy /usr/local/bin/envoy WORKDIR /app -COPY config/requirements.txt . -RUN pip install -r requirements.txt + +# Install uv +COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv + +# Copy Python dependency files +COPY cli/pyproject.toml cli/uv.lock ./ + +# Install dependencies using uv +RUN uv sync --frozen --no-dev + +# Copy the rest of the application COPY cli . COPY config/envoy.template.yaml . COPY config/arch_config_schema.yaml . COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf - -RUN pip install requests RUN mkdir -p /var/log/supervisor && touch /var/log/envoy.log /var/log/supervisor/supervisord.log RUN mkdir -p /var/log && \