From c14cc296d7af4b9b26b4d229806d474737426f43 Mon Sep 17 00:00:00 2001 From: Steve W Date: Sat, 11 Apr 2026 19:58:59 +0000 Subject: [PATCH] fix: copy docs before uv sync in docker build --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index aeabb00..df657be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,10 +3,10 @@ WORKDIR /app RUN apt-get update && apt-get install -y --no-install-recommends curl wget ca-certificates && rm -rf /var/lib/apt/lists/* COPY --from=ghcr.io/astral-sh/uv:0.8.17 /uv /uvx /bin/ COPY pyproject.toml uv.lock ./ -RUN uv sync --frozen --no-dev -COPY app ./app COPY docs ./docs COPY mkdocs.yml ./mkdocs.yml +RUN uv sync --frozen --no-dev +COPY app ./app EXPOSE 8080 ENV PORT=8080 CMD ["uv", "run", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8080"]