Skip to content

Commit

Permalink
修正执行权限问题
Browse files Browse the repository at this point in the history
  • Loading branch information
luolongfei committed Nov 22, 2021
1 parent 3b95aaf commit 2182592
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 2182592

Please sign in to comment.