chore: update dockerfile, move python3 into bottom to avoid compile isolated-vm

This commit is contained in:
moonrailgun 2024-01-19 02:40:32 +08:00
parent caad780e9a
commit 153e2bf499

View File

@ -6,7 +6,7 @@ RUN npm install -g pnpm@8.3.1
COPY . . COPY . .
RUN apk add --update --no-cache python3 g++ make py3-pip RUN apk add --update --no-cache python3 py3-pip g++ make
RUN pnpm install --frozen-lockfile RUN pnpm install --frozen-lockfile
@ -14,7 +14,7 @@ RUN pnpm build
# make sure run after pnpm build completed # make sure run after pnpm build completed
# Push client(only support pure text message) # Push client(only support pure text message)
RUN pip install apprise --break-system-packages # RUN pip install apprise --break-system-packages
# remove unused source file # remove unused source file
RUN rm -rf ./src RUN rm -rf ./src