additional: file2 deployment

This commit is contained in:
2026-06-12 22:57:02 +07:00
parent 319a5c878f
commit 4d7f17dcea
2 changed files with 1787 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# Menggunakan image resmi PHP dengan Apache
FROM php:8.2-apache
# Install ekstensi database (PDO MySQL & MySQLi)
RUN docker-php-ext-install pdo pdo_mysql mysqli
# Mengaktifkan mod_rewrite Apache
RUN a2enmod rewrite
# Menyalin seluruh file proyek ke dalam folder publik web server container
COPY . /var/www/html/
# Memberikan hak akses standar web server
RUN chown -R www-data:www-data /var/www/html/ \
&& chmod -R 755 /var/www/html/
# Mengekspos port 80 untuk lalu lintas web HTTP
EXPOSE 80
+1769
View File
File diff suppressed because one or more lines are too long