From d64df414eba0be63cb4270a7662050b4283c56f1 Mon Sep 17 00:00:00 2001 From: emmatveev Date: Sun, 18 Aug 2024 21:26:32 +0300 Subject: [PATCH] fix --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index baf4807..69762c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,6 @@ FROM docker:dind -RUN wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz -RUN tar xvf Python-3.6.5.tgz -RUN cd Python-3.6.5 && ./configure --enable-optimizations --with-ensurepip=install && make -j 8 && make altinstall -RUN cd /usr/local/bin && ln -s python3.6 python +RUN apk add --update python3 && ln -sf python3 /usr/bin/python RUN apk update && apk add postgresql-dev gcc python3-dev musl-dev jpeg-dev zlib-dev libjpeg RUN apk add py3-pip RUN python3 -m venv venv