Commit 94ec375d authored by Kenzo-Hugo Hillion's avatar Kenzo-Hugo Hillion
Browse files

fix cron

parent 1e0216dc
Pipeline #20139 passed with stages
in 2 minutes and 53 seconds
......@@ -13,3 +13,7 @@ RUN rm -rf Dockerfile
# Copy Pipfile and install
COPY . /code/
RUN pipenv install --system --deploy
RUN crontab cron.txt
CMD cron
......@@ -8,4 +8,3 @@ python ${SCRIPTS_PATH}/ collectstatic --no-input
python ${SCRIPTS_PATH}/ makemigrations
python ${SCRIPTS_PATH}/ migrate
python ${SCRIPTS_PATH}/ runserver${PORT}
crontab cron.txt && service cron start
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment