This commit is contained in:
2024-09-16 16:17:31 +03:30
parent b744847797
commit 9237fa17be
2 changed files with 1 additions and 2 deletions

View File

@@ -53,8 +53,7 @@ RUN groupadd --force -g 1000 octane && useradd -ms /bin/bash --no-log-init --no-
WORKDIR /app
RUN chown -R octane:octane .
EXPOSE 80
RUN echo "" >> /etc/crontab
RUN echo "* * * * * octane cd /app && php artisan schedule:run >> /dev/null 2>&1" >> /etc/crontab
RUN echo "* * * * * octane cd /app && php artisan schedule:run >> /dev/null 2>&1" >> /etc/crontab
COPY ./supervisord.conf /etc/supervisor/octane.conf
COPY ./entrypoint.sh /etc/entrypoint.sh
ENTRYPOINT ["/etc/entrypoint.sh"]