update dockerfile

This commit is contained in:
RainSun 2021-03-06 16:38:28 +08:00
parent 1a7f15bb0b
commit ad5d3bf3c0

@ -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