Initial commit
Some checks failed
/ build (push) Failing after 23s

This commit is contained in:
phil 2024-10-27 02:09:13 +02:00
parent 1da1965b3c
commit 5b5258428b
7 changed files with 72 additions and 27 deletions

17
Containerfile.base Normal file
View file

@ -0,0 +1,17 @@
FROM localhost/treetrail-backend-deps as base
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/
RUN --mount=type=cache,target=/root/.cache \
cd /src && uv sync --locked --no-dev --no-editable
#uv pip install \
# --python=$UV_PROJECT_ENVIRONMENT \
# --no-deps \
# /src