From 34bd44af5b12ad1e4ec643a365e90586a7c44827 Mon Sep 17 00:00:00 2001 From: phil Date: Sun, 27 Oct 2024 05:31:44 +0100 Subject: [PATCH] Cleanup --- Containerfile.base | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Containerfile.base b/Containerfile.base index d167b98..85bb5fb 100644 --- a/Containerfile.base +++ b/Containerfile.base @@ -1,13 +1,8 @@ -FROM localhost/treetrail-backend-deps as base +FROM localhost/treetrail-backend-deps ENV PYTHONPATH $UV_PROJECT_ENVIRONMENT/lib/python3.12/site-packages -COPY ./src/ /src/src -COPY ./tests/ /src/tests -COPY ./pyproject.toml /src/ -COPY ./README.md /src/ -COPY ./uv.lock /src/ - +COPY . /src RUN --mount=type=cache,target=/root/.cache \ cd /src && uv sync --locked --no-dev --no-editable