From fb8184fe9cde26e7991e05f3833adfec1a0a7206 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Mon, 15 Jan 2024 00:22:43 +0800 Subject: [PATCH] fix: fix pip install problem when docker build --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2df236d..0a24289 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,12 +9,13 @@ COPY . . RUN apk add --update --no-cache python3 g++ make py3-pip # Push client(only support pure text message) -RUN pip install apprise +RUN pip install apprise --break-system-packages RUN pnpm install --frozen-lockfile RUN pnpm build +# remove unused source file RUN rm -rf ./src RUN rm -rf ./website RUN rm -rf ./reporter