Compare commits

..

No commits in common. "0a0d1d9d2058b82f2ee04d3af5de19ca6d543bb4" and "fcb20d8fc780057647b5762a7b7ad6b2a2777e8c" have entirely different histories.

2 changed files with 5 additions and 12 deletions

View File

@ -1,2 +1,2 @@
Branch: main Branch: invoice-update
Commit: 895342a8ba976caa41f4b5b9fdec1c684e47dc5d Commit: 50538bb64faa7f46d643ed60b9f0f272d5624a39

View File

@ -15,14 +15,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
curl \ curl \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Prefer IPv4 over unrouted IPv6 in glibc to prevent PyPI connection timeouts # Copy pyproject.toml first for layer caching
RUN echo "precedence ::ffff:0:0/96 100" >> /etc/gai.conf
# Use Astral's uv package manager for fast, parallel, cached installations
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
ENV UV_HTTP_TIMEOUT=300
# Copy pyproject.toml first
COPY pyproject.toml ./ COPY pyproject.toml ./
COPY README.md ./ COPY README.md ./
@ -33,8 +26,8 @@ COPY app ./app
# Copy git info metadata if generated on host # Copy git info metadata if generated on host
COPY .git_api_info* /app/.git_api_info COPY .git_api_info* /app/.git_api_info
# Install project and CLI scripts into system PATH using persistent BuildKit cache # Install project and CLI scripts into PATH
RUN --mount=type=cache,target=/root/.cache/uv uv pip install --system -e . RUN pip install --no-cache-dir -e .
EXPOSE 8000 EXPOSE 8000