This commit is contained in:
franknstayn
2023-08-28 03:44:00 +08:00
parent 75cb6fba52
commit 1fb6862c79
2 changed files with 14 additions and 17 deletions

View File

@@ -38,7 +38,8 @@ RUN composer install
RUN php artisan key:generate
# Expose port 9000 for PHP-FPM
EXPOSE 80
EXPOSE 9001
# Start PHP-FPM
CMD ["php-fpm"]
CMD ["nginx", "-g", "daemon off;", "&", "php-fpm"]