File tree Expand file tree Collapse file tree 3 files changed +14
-14
lines changed
Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1+ .azure
2+ .venv
3+ .logfire
4+ .devcontainer
Original file line number Diff line number Diff line change @@ -13,16 +13,14 @@ COPY --from=ghcr.io/astral-sh/uv:0.9.14 /uv /uvx /bin/
1313
1414WORKDIR /code
1515
16- # Install dependencies first (for layer caching)
17- RUN --mount=type=cache,target=/root/.cache/uv \
18- --mount=type=bind,source=uv.lock,target=uv.lock \
19- --mount=type=bind,source=pyproject.toml,target=pyproject.toml \
20- uv sync --locked --no-install-project
16+ # Copy dependency files and install dependencies (for layer caching)
17+ # Note: We avoid --mount=type=cache since Azure Container Apps remote build doesn't support BuildKit
18+ COPY uv.lock pyproject.toml ./
19+ RUN uv sync --locked --no-install-project
2120
2221# Copy the project and sync
2322COPY . .
24- RUN --mount=type=cache,target=/root/.cache/uv \
25- uv sync --locked
23+ RUN uv sync --locked
2624
2725# ------------------- Stage 2: Final Stage ------------------------------
2826FROM python:3.13-alpine AS final
Original file line number Diff line number Diff line change @@ -13,16 +13,14 @@ COPY --from=ghcr.io/astral-sh/uv:0.9.14 /uv /uvx /bin/
1313
1414WORKDIR /code
1515
16- # Install dependencies first (for layer caching)
17- RUN --mount=type=cache,target=/root/.cache/uv \
18- --mount=type=bind,source=uv.lock,target=uv.lock \
19- --mount=type=bind,source=pyproject.toml,target=pyproject.toml \
20- uv sync --locked --no-install-project
16+ # Copy dependency files and install dependencies (for layer caching)
17+ # Note: We avoid --mount=type=cache since Azure Container Apps remote build doesn't support BuildKit
18+ COPY uv.lock pyproject.toml ./
19+ RUN uv sync --locked --no-install-project
2120
2221# Copy the project and sync
2322COPY . .
24- RUN --mount=type=cache,target=/root/.cache/uv \
25- uv sync --locked
23+ RUN uv sync --locked
2624
2725# ------------------- Stage 2: Final Stage ------------------------------
2826FROM python:3.13-alpine AS final
You can’t perform that action at this time.
0 commit comments