Move ssl install to Dockerfile build stage

このコミットが含まれているのは:
Ben Busby 2021-02-26 12:04:06 -05:00 committed by Ben Busby
コミット b7b6fb7c04
1個のファイルの変更1行の追加2行の削除

ファイルの表示

@ -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/*