treetrail-backend/Containerfile.base
phil 114201d561
Some checks failed
/ build (push) Failing after 15s
Add playbook for building the images
2024-10-30 02:07:05 +01:00

16 lines
380 B
Text

# Build: podman build -t treetrail-backend-base -f Containerfile.base
FROM localhost/treetrail-backend-deps
ENV PYTHONPATH $UV_PROJECT_ENVIRONMENT/lib/python3.12/site-packages
COPY . /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