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

View file

@ -1,8 +1,10 @@
FROM localhost/trixie_python
MAINTAINER philo email phil.dev@philome.mooo.com
FROM localhost/trixie_python AS build
#ENV PYTHONDONTWRITEBYTECODE 1
ENV PATH=/app/bin:$PATH
WORKDIR /usr/src/treetrail
COPY ./pyproject.toml ./README.md ./uv.lock .
RUN uv sync
COPY ./pyproject.toml ./README.md ./uv.lock /_lock/
RUN --mount=type=cache,target=/root/.cache <<EOT
cd /_lock
uv sync --locked --no-dev --no-install-project
EOT