From: Radek Czajka Date: Sat, 21 Sep 2024 06:46:18 +0000 (+0200) Subject: Running the old version. X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/d0f0e1412cc42d366b234e798dfb68feed05d751?ds=inline Running the old version. --- 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