| @@ -4,7 +4,7 @@ FROM python:3.10-slim-bookworm AS base | |||
| WORKDIR /app/api | |||
| # Install Poetry | |||
| ENV POETRY_VERSION=1.8.3 | |||
| ENV POETRY_VERSION=1.8.4 | |||
| # if you located in China, you can use aliyun mirror to speed up | |||
| # RUN pip install --no-cache-dir poetry==${POETRY_VERSION} -i https://mirrors.aliyun.com/pypi/simple/ | |||
| @@ -55,7 +55,7 @@ RUN apt-get update \ | |||
| && echo "deb http://deb.debian.org/debian testing main" > /etc/apt/sources.list \ | |||
| && apt-get update \ | |||
| # For Security | |||
| && apt-get install -y --no-install-recommends zlib1g=1:1.3.dfsg+really1.3.1-1 expat=2.6.3-1 libldap-2.5-0=2.5.18+dfsg-3+b1 perl=5.40.0-6 libsqlite3-0=3.46.1-1 \ | |||
| && apt-get install -y --no-install-recommends expat=2.6.3-2 libldap-2.5-0=2.5.18+dfsg-3+b1 perl=5.40.0-6 libsqlite3-0=3.46.1-1 zlib1g=1:1.3.dfsg+really1.3.1-1+b1 \ | |||
| # install a chinese font to support the use of tools like matplotlib | |||
| && apt-get install -y fonts-noto-cjk \ | |||
| && apt-get autoremove -y \ | |||