From d0f0e1412cc42d366b234e798dfb68feed05d751 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Sat, 21 Sep 2024 08:46:18 +0200 Subject: [PATCH 1/1] Running the old version. --- Dockerfile | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9aaaeca..2ee1cce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,14 @@ -FROM python:2.7-alpine AS base - -RUN apk update && apk add --no-cache \ - libxslt-dev libxml2-dev build-base \ - tiff-dev jpeg-dev openjpeg-dev zlib-dev freetype-dev lcms2-dev \ - libwebp-dev tcl-dev tk-dev harfbuzz-dev fribidi-dev \ - libxcb-dev libpng-dev \ - postgresql-dev +FROM python:2.7 AS base + +RUN apt-get update && apt-get install -y \ + libxslt-dev libxml2-dev build-essential \ + libtiff5-dev libjpeg62-turbo-dev libopenjp2-7-dev zlib1g-dev \ + libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk \ + libharfbuzz-dev libfribidi-dev libxcb1-dev \ + libpq-dev \ + ruby-sass \ + && rm -rf /var/lib/apt/lists/* + COPY requirements.txt requirements.txt RUN pip install --no-cache-dir -r requirements.txt -- 2.20.1