feat: remove cron and crontab from the docker image

Change is required to transition to podman in the future.
This commit is contained in:
Ana Custura 2024-12-02 13:09:48 +00:00
parent ad44101cfc
commit 33243b77ba
2 changed files with 0 additions and 5 deletions

View file

@ -17,7 +17,6 @@ RUN apt-get update && \
curl \ curl \
python3-pip \ python3-pip \
python3-venv \ python3-venv \
cron \
git \ git \
gnupg && \ gnupg && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 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 && \ mkdir -p ${APP_BASE}/${APP}/app/static/ui && \
cp -r dist/* ${APP_BASE}/${APP}/app/static/ui && \ cp -r dist/* ${APP_BASE}/${APP}/app/static/ui && \
rm -rf frontend /tmp/* /var/tmp/* rm -rf frontend /tmp/* /var/tmp/*
USER root
RUN crontab -u ${APP} docker-crontab

View file

@ -1 +0,0 @@
*/1 * * * * (cd /srv/bc ; /usr/bin/env python3 -m app.cli automate --all) > /dev/null 2>&1