Skip to content

Commit

Permalink
fix: fix pip install problem when docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Jan 14, 2024
1 parent 947ccf2 commit 63a4e0a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ COPY . .
RUN apk add --update --no-cache python3 g++ make py3-pip

# Push client(only support pure text message)
RUN python3 -m venv /app/venv
RUN . /app/venv/bin/activate
RUN pip install apprise

RUN pnpm install --frozen-lockfile

RUN pnpm build

# remove unused source file
RUN rm -rf ./src
RUN rm -rf ./website
RUN rm -rf ./reporter
Expand Down

0 comments on commit 63a4e0a

Please sign in to comment.