Set working dir to home

This commit is contained in:
Keith Null 2020-06-28 21:10:27 +08:00
parent f5c16b0506
commit a691a85a18
No known key found for this signature in database
GPG Key ID: 506AB98944A8D9D9

View File

@ -1,6 +1,7 @@
FROM python:3-alpine
# only copy necessary files for better cache
WORKDIR /home/
COPY requirements.txt refresh_cdn.py ./
RUN python3 --version
RUN pip3 install -r requirements.txt
ENTRYPOINT python3 refresh_cdn.py
ENTRYPOINT python3 /home/refresh_cdn.py