From d0619f1fe8d5ff574917d9c9c80d04a31b10ef38 Mon Sep 17 00:00:00 2001 From: snowykami Date: Sat, 16 Nov 2024 02:24:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96Dockerfile=EF=BC=8C=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E4=B8=8D=E5=BF=85=E8=A6=81=E7=9A=84sources.list?= =?UTF-8?q?=E5=A4=8D=E5=88=B6=E6=AD=A5=E9=AA=A4=EF=BC=8C=E7=AE=80=E5=8C=96?= =?UTF-8?q?pip=E5=AE=89=E8=A3=85=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index fcd1d169..3e4115b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,15 +2,13 @@ FROM swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/python:3.10-slim ENV TZ Asia/Shanghai -COPY docker/sources.list /etc/apt/sources.list - RUN apt-get update && apt-get install -y git WORKDIR /liteyukibot COPY . /liteyukibot -RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple +RUN pip install --no-cache-dir -r requirements.txt RUN apt-get install -y libnss3 libnspr4 libdbus-1-3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libatspi2.0-0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libxkbcommon0 libasound2