FROM registry.gitlab.com/tipanverella/faktori/python-uv:latest
LABEL authors="tipanverella"

WORKDIR /Sciurus

COPY pyproject.toml ./

ENV PATH=$PATH:/root/.local/bin
RUN uv lock

COPY xerini ./sciurus
COPY mypy.ini ./
COPY tests ./tests
COPY mkdocs.yml ./
COPY docs ./docs
COPY README.md ./
COPY Makefile ./

RUN uv sync
RUN uv venv
