From 65cb1a1c7a2a187309f6a4a4e6a63d9918636675 Mon Sep 17 00:00:00 2001 From: Luka Radenovic Date: Tue, 2 Nov 2021 09:51:44 +0100 Subject: [PATCH] fix(Dockerfile): Cleanup for dockerfile --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1f3a54d..03f05e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM python:3.10-slim RUN apt-get update -RUN apt-get install -y libpq-dev python-dev gcc +RUN apt-get install -y gcc ## make a local directory RUN mkdir /app @@ -12,9 +12,6 @@ WORKDIR /app # copy requirements.txt to /app ADD requirements.txt . -# required to be able to install old MarkupSafe==1.0.0 version -RUN pip install --upgrade pip setuptools==45.2.0 - # pip install the local requirements.txt RUN pip install -r requirements.txt