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