From b7b6fb7c042c617a7f11f6ca4963bd8423eb2fc6 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Fri, 26 Feb 2021 12:04:06 -0500 Subject: [PATCH] Move ssl install to Dockerfile build stage --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ec3095c..d901769 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,18 +4,17 @@ RUN apt-get update && apt-get install -y \ build-essential \ libxml2-dev \ libxslt-dev \ + libssl-dev \ libffi-dev COPY requirements.txt . RUN pip install --prefix /install --no-warn-script-location --no-cache-dir -r requirements.txt - FROM python:3.8-slim RUN apt-get update && apt-get install -y \ libcurl4-openssl-dev \ - libssl-dev \ tor \ && rm -rf /var/lib/apt/lists/*