fix: update db_config env vars and Dockerfile
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
FROM php:8.2-apache
|
||||
|
||||
# Install ekstensi mysqli untuk koneksi ke database
|
||||
RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli
|
||||
# Install ekstensi mysqli dan pdo_mysql untuk koneksi ke database
|
||||
RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable mysqli
|
||||
|
||||
# Aktifkan mod_rewrite Apache (berguna untuk URL yang bersih/routing)
|
||||
RUN a2enmod rewrite
|
||||
|
||||
Reference in New Issue
Block a user