From d02aa407b52120b64c7507dd9f0f5d3299c4dc6d Mon Sep 17 00:00:00 2001 From: lan Date: Mon, 6 May 2024 10:58:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=87=E4=BB=B6=E4=BA=8C=E7=BB=B4?= =?UTF-8?q?=E7=A0=81=E5=9C=A8=E5=89=8D=E7=AB=AF=E6=8B=BC=E6=8E=A5=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E5=A5=BD=E5=83=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2fb21e7..1b79fde 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,8 @@ LABEL version="6" # 先安装依赖可以产生缓存 WORKDIR /app COPY requirements.txt /app -RUN apt-get update && apt-get install -y --no-install-recommends gcc libc-dev +# 安装gcc +RUN apk add --no-cache gcc musl-dev RUN /usr/local/bin/python -m pip install --upgrade pip && pip install -r requirements.txt COPY ./backend/ /app COPY --from=webui /app/fcb-fronted/dist/ /app/dist