-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #387 from EscolaLMS/develop
release 1.0.1
- Loading branch information
Showing
15 changed files
with
413 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
FROM escolalms/php:8.2-work | ||
FROM escolalms/php:8.3-alpine | ||
WORKDIR /var/www/html | ||
EXPOSE 9000 | ||
COPY / /var/www/html | ||
RUN pecl install excimer | ||
RUN cp docker/conf/supervisor/supervisord.conf /etc/supervisor/supervisord.conf \ | ||
# supervisord services | ||
# && cp -r docker/conf/supervisor/services/* /etc/supervisor/custom.d \ | ||
# devilbox php.ini./ TODO this should be rather send to different custom file | ||
&& cp docker/conf/php/xxx-devilbox-default-php.ini /usr/local/etc/php/conf.d/xxx-devilbox-default-php.ini \ | ||
# overwrite some php-fpm settings | ||
RUN \ | ||
cp docker/conf/supervisor/supervisord.conf /etc/supervisord.conf \ | ||
&& cp docker/conf/php/xxx-devilbox-default-php.ini /usr/local/etc/php/conf.d/xxx-devilbox-default-php.ini \ | ||
&& cp docker/conf/php/php-fpm-custom.conf /usr/local/etc/php-fpm.d/php-fpm-custom.conf | ||
RUN composer self-update && composer install --no-scripts | ||
RUN chown -R devilbox:devilbox /var/www/ | ||
RUN composer install --no-scripts | ||
|
||
CMD /var/www/html/init.sh | ||
|
||
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=5 CMD [ "php", "artisan", "health:check" ] | ||
HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=5 CMD [ "php", "artisan", "health:check" ] |
Oops, something went wrong.