From 349fa71ae40b09ee62ce1ec58f7e373586a342ea Mon Sep 17 00:00:00 2001 From: Bowen Liang Date: Wed, 5 Feb 2025 13:35:01 +0800 Subject: [PATCH] update --- api/Dockerfile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/api/Dockerfile b/api/Dockerfile index cf18ad8c89fc88..8207c66f83795b 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -48,18 +48,18 @@ ENV TZ=UTC WORKDIR /app/api -RUN apt-get update \ - && apt-get install -y --no-install-recommends curl nodejs libgmp-dev libmpfr-dev libmpc-dev \ - # if you located in China, you can use aliyun mirror to speed up - # && echo "deb http://mirrors.aliyun.com/debian testing main" > /etc/apt/sources.list \ - && echo "deb http://deb.debian.org/debian bookworm main" > /etc/apt/sources.list \ - && apt-get update \ - # For Security - && apt-get install -y --no-install-recommends expat libldap-2.5-0 perl libsqlite3-0 zlib1g \ - # install a chinese font to support the use of tools like matplotlib - && apt-get install -y fonts-noto-cjk \ - # install libmagic to support the use of python-magic guess MIMETYPE - && apt-get install -y libmagic1 \ +RUN \ + apt-get update \ + # Install dependencies + && apt-get install -y --no-install-recommends \ + # basic environment + curl nodejs libgmp-dev libmpfr-dev libmpc-dev \ + # For Security + expat libldap-2.5-0 perl libsqlite3-0 zlib1g \ + # install a chinese font to support the use of tools like matplotlib + fonts-noto-cjk \ + # install libmagic to support the use of python-magic guess MIMETYPE + libmagic1 \ && apt-get autoremove -y \ && rm -rf /var/lib/apt/lists/*