Skip to content

Commit

Permalink
feat: entrypoint (re)activation, explicit bash call
Browse files Browse the repository at this point in the history
  • Loading branch information
Herve Le-Bars authored and rv2931 committed Feb 25, 2024
1 parent 9bc0451 commit 77fa996
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-env/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ RUN crontab /etc/cron.d/cron_scrapper
COPY docker-env/entrypoint.sh /entrypoint.sh
RUN ["chmod", "+x", "/entrypoint.sh"]

#ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
# https://manpages.ubuntu.com/manpages/trusty/man8/cron.8.html
# -f | Stay in foreground mode, don't daemonize.
# -L loglevel | Tell cron what to log about jobs (errors are logged regardless of this value) as the sum of the following values:
#CMD ["cron","-f", "-L", "2"]
CMD ["cron","-f", "-L", "2"]

0 comments on commit 77fa996

Please sign in to comment.