Skip to content

Commit 6a1fc56

Browse files
committed
chore: broken cleanuparr
1 parent 8fa4025 commit 6a1fc56

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

apps/cleanuparr/Dockerfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ COPY --from=cloner /src/code/frontend/ .
1717
RUN 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
2121
ARG TARGETARCH
2222
ARG VERSION=0.0.1
2323
ARG 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

6668
RUN 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

7678
LABEL 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+
7886
WORKDIR /app
7987
COPY --from=build --chown=568:568 /app/publish .
8088
COPY --from=frontend-build --chown=568:568 /app/dist/ui/browser ./wwwroot

0 commit comments

Comments
 (0)