fix: fix pip install problem when docker build
This commit is contained in:
parent
947ccf2864
commit
fb8184fe9c
@ -9,12 +9,13 @@ COPY . .
|
|||||||
RUN apk add --update --no-cache python3 g++ make py3-pip
|
RUN apk add --update --no-cache python3 g++ make py3-pip
|
||||||
|
|
||||||
# Push client(only support pure text message)
|
# 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 install --frozen-lockfile
|
||||||
|
|
||||||
RUN pnpm build
|
RUN pnpm build
|
||||||
|
|
||||||
|
# remove unused source file
|
||||||
RUN rm -rf ./src
|
RUN rm -rf ./src
|
||||||
RUN rm -rf ./website
|
RUN rm -rf ./website
|
||||||
RUN rm -rf ./reporter
|
RUN rm -rf ./reporter
|
||||||
|
Loading…
Reference in New Issue
Block a user