dev packages needed, drop apt cache

pull/34/head
dgtlmoon 4 years ago
parent a11f09062b
commit 02062c5893

@ -1,6 +1,6 @@
FROM python:3.8-slim FROM python:3.8-slim
COPY requirements.txt /tmp/requirements.txt COPY requirements.txt /tmp/requirements.txt
RUN apt-get update && apt-get install -y gcc g++ --no-install-recommends && rm -rf /var/lib/apt/lists/* RUN apt-get update && apt-get install -y 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 pip3 install --no-cache-dir -r /tmp/requirements.txt

Loading…
Cancel
Save