Update Dockerfile.base

This commit is contained in:
涵曦 2024-10-30 09:25:29 +08:00 committed by GitHub
parent 6995afed16
commit ac6fbd1b82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,12 +1,13 @@
FROM python:3.10-slim
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /app
COPY install_dependencies.sh .
RUN bash install_dependencies.sh
RUN apt-get update && apt-get install -y \
wget \
libtiff6 \
libopenjp2-7 \
libxcb1 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY install_dependencies.sh .
RUN bash install_dependencies.sh