fix: fix pip install problem when docker build

This commit is contained in:
moonrailgun 2024-01-15 00:22:43 +08:00
parent 947ccf2864
commit fb8184fe9c

View File

@ -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