edit files

This commit is contained in:
2026-06-12 12:50:13 +07:00
parent 3a78d9c1e6
commit 15419e3c64
2 changed files with 12 additions and 12 deletions
+11
View File
@@ -0,0 +1,11 @@
FROM php:8.2-apache
RUN docker-php-ext-install mysqli pdo pdo_mysql \
&& a2enmod rewrite
COPY . /var/www/html/
RUN mkdir -p /var/www/html/05/webgis_uas_FIXED_v2/webgis_uas_FIXED/uploads/bukti \
&& chown -R www-data:www-data /var/www/html
EXPOSE 80
+1 -12
View File
@@ -2,18 +2,7 @@ services:
web:
build:
context: .
dockerfile_inline: |
FROM php:8.2-apache
RUN docker-php-ext-install mysqli pdo pdo_mysql \
&& a2enmod rewrite
COPY . /var/www/html/
RUN mkdir -p /var/www/html/05/webgis_uas_FIXED_v2/webgis_uas_FIXED/uploads/bukti \
&& chown -R www-data:www-data /var/www/html
EXPOSE 80
dockerfile: Dockerfile
restart: unless-stopped
expose:
- "80"