From a691a85a18918babbc17d2800d8010bb2076f50a Mon Sep 17 00:00:00 2001 From: Keith Null Date: Sun, 28 Jun 2020 21:10:27 +0800 Subject: [PATCH] Set working dir to home --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9ee07c4..d82058b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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