fix: update final code deployment
This commit is contained in:
@@ -2,6 +2,10 @@ FROM php:8.2-apache
|
||||
|
||||
RUN a2enmod rewrite
|
||||
|
||||
# The sub-projects connect via mysqli, which isn't bundled in the base image
|
||||
RUN docker-php-ext-install mysqli pdo_mysql \
|
||||
&& echo "date.timezone = Asia/Jakarta" > /usr/local/etc/php/conf.d/timezone.ini
|
||||
|
||||
COPY . /var/www/html/
|
||||
|
||||
RUN chown -R www-data:www-data /var/www/html \
|
||||
|
||||
Reference in New Issue
Block a user