diff --git a/Dockerfile b/Dockerfile index 36bebe43..42499d50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,16 @@ FROM ghcr.io/astral-sh/uv:python3.11-bookworm-slim WORKDIR /app +RUN apt-get update \ + && apt-get install -y --no-install-recommends \ + build-essential \ + pkg-config \ + libsecp256k1-dev \ + autoconf \ + automake \ + libtool \ + && rm -rf /var/lib/apt/lists/* + COPY uv.lock pyproject.toml ./ RUN mkdir -p /routstr diff --git a/Dockerfile.full b/Dockerfile.full index cc3e0e81..a625f4ce 100644 --- a/Dockerfile.full +++ b/Dockerfile.full @@ -20,6 +20,16 @@ FROM ghcr.io/astral-sh/uv:python3.11-bookworm-slim AS runner WORKDIR /app +RUN apt-get update \ + && apt-get install -y --no-install-recommends \ + build-essential \ + pkg-config \ + libsecp256k1-dev \ + autoconf \ + automake \ + libtool \ + && rm -rf /var/lib/apt/lists/* + # Copy the rest of the application (required for uv sync to find the package) COPY . . diff --git a/compose.yml b/compose.yml index e24e4a8f..0df234e2 100644 --- a/compose.yml +++ b/compose.yml @@ -20,6 +20,7 @@ services: - ui volumes: - .:/app:z + - /app/.venv - ./logs:/app/logs:z - tor-data:/var/lib/tor:ro - ./ui_out:/app/ui_out:ro,z