Update Dockerfile

This commit is contained in:
servdal
2025-07-17 06:31:35 +07:00
parent cedb72d57f
commit 3237dbf10c
7 changed files with 53 additions and 13 deletions

View File

@@ -60,7 +60,10 @@ WORKDIR /var/www/html
# RUN composer create-project laravel/laravel:^10 /var/www/html
# Set permission
RUN chown -R www-data:www-data /var/www/html/storage /var/www/html/bootstrap/cache
# RUN chown -R www-data:www-data /var/www/html/htdocs/storage /var/www/html/htdocs/bootstrap/cache
EXPOSE 9000
CMD ["php-fpm"]
#CMD ["php-fpm"]
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
ENTRYPOINT ["entrypoint.sh"]