feat: remove cron and crontab from the docker image
Change is required to transition to podman in the future.
This commit is contained in:
parent
ad44101cfc
commit
33243b77ba
2 changed files with 0 additions and 5 deletions
|
@ -17,7 +17,6 @@ RUN apt-get update && \
|
|||
curl \
|
||||
python3-pip \
|
||||
python3-venv \
|
||||
cron \
|
||||
git \
|
||||
gnupg && \
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
@ -59,6 +58,3 @@ RUN rm -rf frontend && \
|
|||
mkdir -p ${APP_BASE}/${APP}/app/static/ui && \
|
||||
cp -r dist/* ${APP_BASE}/${APP}/app/static/ui && \
|
||||
rm -rf frontend /tmp/* /var/tmp/*
|
||||
|
||||
USER root
|
||||
RUN crontab -u ${APP} docker-crontab
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
*/1 * * * * (cd /srv/bc ; /usr/bin/env python3 -m app.cli automate --all) > /dev/null 2>&1
|
Loading…
Add table
Add a link
Reference in a new issue