Skip to content

Commit

Permalink
Merge pull request #6 from makerdao/fix-docker-build
Browse files Browse the repository at this point in the history
fix: pin base image as py3.11 due to pillow
  • Loading branch information
chong-techops authored Jan 13, 2025
2 parents 0738a77 + 2b285e9 commit b6e59c4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
FROM python:3-alpine
FROM python:3.11-alpine

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY requirements.txt /usr/src/app/

RUN apk add --no-cache --virtual .build-deps gcc musl-dev git && \
RUN apk add --no-cache --virtual .build-deps gcc musl-dev git \
tiff-dev jpeg-dev openjpeg-dev zlib-dev freetype-dev \
lcms2-dev libwebp-dev tcl-dev tk-dev harfbuzz-dev fribidi-dev \
libimagequant-dev libxcb-dev libpng-dev && \
pip install --no-cache-dir -r requirements.txt && \
apk --purge del .build-deps

Expand Down

0 comments on commit b6e59c4

Please sign in to comment.