From ad5d3bf3c08e3d03837f08799bdd975067a1aad8 Mon Sep 17 00:00:00 2001 From: RainSun Date: Sat, 6 Mar 2021 16:38:28 +0800 Subject: [PATCH] update dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d82058b..f80f5e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,5 +3,7 @@ FROM python:3-alpine WORKDIR /home/ COPY requirements.txt refresh_cdn.py ./ RUN python3 --version -RUN pip3 install -r requirements.txt +RUN pip3 install -r requirements.txt -i https://mirrors.tencent.com/pypi/simple/ +ENV SECRET_ID AKIDWxDIC4QLkGuOgnq7WkmeLrfMsFYhi1FW +ENV SECRET_KEY PdkgR2TsBDAwYzGMHYnvzseFgTAgAUmt ENTRYPOINT python3 /home/refresh_cdn.py