Untuk Deploy

This commit is contained in:
TigerStable
2026-06-12 21:50:22 +07:00
parent 41c86ecc08
commit b0b94ecec3
4 changed files with 74 additions and 11 deletions
+15
View File
@@ -0,0 +1,15 @@
FROM php:8.2-apache
RUN docker-php-ext-install pdo pdo_mysql \
&& a2enmod headers
WORKDIR /var/www/html
COPY . /var/www/html
RUN chown -R www-data:www-data /var/www/html \
&& find /var/www/html -type d -exec chmod 755 {} \; \
&& find /var/www/html -type f -exec chmod 644 {} \;
EXPOSE 80