File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ COPY --from=cloner /src/code/frontend/ .
1717RUN npm run build
1818
1919# Build .NET backend
20- FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0-bookworm-slim AS build
20+ FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:10.0 AS build
2121ARG TARGETARCH
2222ARG VERSION=0.0.1
2323ARG PACKAGES_USERNAME=ipromknight
@@ -61,6 +61,8 @@ RUN apt-get update \
6161 libssl1.1 \
6262 libstdc++6 \
6363 tzdata \
64+ python3 \
65+ python3-venv \
6466 && rm -rf /var/lib/apt/lists/*
6567
6668RUN dotnet_archive=dotnet-runtime-${DOTNET_VERSION}-linux-x64.tar.gz \
@@ -75,6 +77,12 @@ RUN dotnet_archive=dotnet-runtime-${DOTNET_VERSION}-linux-x64.tar.gz \
7577
7678LABEL org.opencontainers.image.title="Cleanuparr"
7779
80+ # Create virtual environment and install Apprise CLI
81+ ENV VIRTUAL_ENV=/opt/apprise-venv
82+ RUN python3 -m venv $VIRTUAL_ENV
83+ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
84+ RUN pip install --no-cache-dir apprise==1.9.3
85+
7886WORKDIR /app
7987COPY --from=build --chown=568:568 /app/publish .
8088COPY --from=frontend-build --chown=568:568 /app/dist/ui/browser ./wwwroot
You can’t perform that action at this time.
0 commit comments