|
|
|
@ -1,8 +1,7 @@
|
|
|
|
|
FROM python:3.8-slim
|
|
|
|
|
COPY requirements.txt /tmp/requirements.txt
|
|
|
|
|
RUN apt-get update && apt-get install -y libffi-dev libssl-dev gcc libc-dev libxslt-dev zlib1g-dev g++ --no-install-recommends && rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
|
|
|
|
|
|
|
|
|
RUN pip3 install --no-cache-dir -r /tmp/requirements.txt
|
|
|
|
|
RUN apt-get update && apt-get install -y curl libffi-dev gcc libc-dev libxslt-dev zlib1g-dev g++ --no-install-recommends && rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
|
|
|
|
RUN pip3 install --upgrade pip && pip3 install --no-cache-dir -r /tmp/requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RUN [ ! -d "/app" ] && mkdir /app
|
|
|
|
|