Add crontab to project

Cron will likely be a duplicate compose service with a different
command.
This commit is contained in:
Jake Howard 2022-08-20 20:48:27 +01:00
parent 2fe0960623
commit 10b32da3e0
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 16 additions and 1 deletions

View file

@ -17,6 +17,8 @@ RUN useradd website --create-home -u 1000 && mkdir /app $VIRTUAL_ENV && chown -R
WORKDIR /app
RUN wget https://github.com/aptible/supercronic/releases/download/v0.2.1/supercronic-linux-amd64 -O /usr/local/bin/supercronic && chmod +x /usr/local/bin/supercronic
ENV PATH=${POETRY_HOME}/bin:$VIRTUAL_ENV/bin:$PATH \
PYTHONUNBUFFERED=1