From 7bf9cc5656e4670d34d2941c752638dcf7bd718a Mon Sep 17 00:00:00 2001 From: AKW <2497744746@qq.com> Date: Fri, 12 Jan 2024 15:10:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=AD=A3=E5=90=91=E4=BB=A3?= =?UTF-8?q?=E7=90=86?= 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 c1c76a4..54c3647 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM python:3.11.4 +USER root ENV APP_HOME=/app RUN mkdir $APP_HOME WORKDIR $APP_HOME @@ -12,7 +13,7 @@ ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 -RUN #echo '121.41.112.68 qyapi.weixin.qq.com' >> /etc/hosts +RUN echo '121.41.112.68 qyapi.weixin.qq.com' >> /etc/hosts RUN mkdir ~/.pip RUN echo "[global]" > ~/.pip/pip.conf RUN echo "index-url = https://pypi.tuna.tsinghua.edu.cn/simple" >> ~/.pip/pip.conf