From 004dd1200431a443925df1b6aefe67293152566b Mon Sep 17 00:00:00 2001 From: liuyebo <1515783401@qq.com> Date: Sat, 12 Oct 2024 11:09:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E5=9F=BA=E7=A1=80=E9=95=9C?= =?UTF-8?q?=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c7d357a..5e8ad63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # 使用官方的python镜像作为基础 -FROM python:3.10.15-slim-bookworm +FROM python:3.10.15-bookworm # 设置工作目录 WORKDIR /app @@ -14,7 +14,6 @@ ENV PYTHONUNBUFFERED=1 \ # 安装依赖 COPY requirements.txt /app/requirements.txt RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone \ - && apt-get update && apt-get install libgl1 \ && pip install --no-cache-dir -r requirements.txt # 将当前目录内容复制到容器的/app内