Skip to content

Commit

Permalink
build(docker): allow pip to run system-wide
Browse files Browse the repository at this point in the history
  • Loading branch information
streambinder committed Jan 16, 2024
1 parent bfa4276 commit febbde8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM alpine as builder
RUN apk add --no-cache bash font-overpass git imagemagick make py3-pip
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install markdown jinja2 pygments pyyaml requests
RUN apk add --no-cache bash font-overpass git imagemagick make py3-pip python3-dev
RUN pip install --break-system-packages --upgrade pip
COPY . .
RUN pip install --break-system-packages -r requirements.txt
RUN wget https://github.com/tdewolff/minify/releases/download/v2.9.10/minify_linux_amd64.tar.gz
RUN tar -xvf minify*.tar.gz -C /bin
COPY . .
RUN make

FROM alpine
Expand Down

0 comments on commit febbde8

Please sign in to comment.