smaller image file

This commit is contained in:
simon 2022-06-06 15:17:31 +07:00
parent e6ec703eac
commit 7fdb73a452
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -2,8 +2,7 @@ FROM python:3.10.4-slim-bullseye
RUN apt-get clean && apt-get -y update && \ RUN apt-get clean && apt-get -y update && \
apt-get -y install --no-install-recommends \ apt-get -y install --no-install-recommends \
python3-dev libpq-dev build-essential \ build-essential libpq-dev vim htop bmon net-tools iputils-ping procps
vim htop bmon net-tools iputils-ping procps
ENV PATH=/root/.local/bin:$PATH ENV PATH=/root/.local/bin:$PATH
COPY requirements.txt /requirements.txt COPY requirements.txt /requirements.txt