Untuk Deploy
This commit is contained in:
+15
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user