update
This commit is contained in:
@@ -53,8 +53,9 @@ 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
|
||||
COPY ./supervisord.conf /etc/supervisor/octane.conf
|
||||
COPY ./crontab.conf /etc/cron.d/laravel
|
||||
COPY ./entrypoint.sh /etc/entrypoint.sh
|
||||
ENTRYPOINT ["/etc/entrypoint.sh"]
|
||||
HEALTHCHECK --start-period=60s --interval=30s --timeout=5s --retries=3 CMD php artisan octane:status || exit 1
|
||||
|
||||
Reference in New Issue
Block a user