From 21825922991903e8855c53bae6cc37e9335804b1 Mon Sep 17 00:00:00 2001 From: luolongfei Date: Mon, 22 Nov 2021 18:29:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=89=A7=E8=A1=8C=E6=9D=83?= =?UTF-8?q?=E9=99=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 86cccc2..383ca67 100644 --- a/Dockerfile +++ b/Dockerfile @@ -76,7 +76,9 @@ RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --no-cache-dir -r re VOLUME ["/conf", "/app/logs"] -COPY docker-entrypoint.sh /usr/local/bin/ -ENTRYPOINT ["docker-entrypoint.sh"] +RUN cp docker-entrypoint.sh /usr/local/bin/; \ + chmod +x /usr/local/bin/docker-entrypoint.sh + +ENTRYPOINT ["sh", "-c", "docker-entrypoint.sh"] CMD ["crond", "-f"]