coba docker
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
FROM php:8.2-apache
|
||||
|
||||
# Aktifkan mod_rewrite
|
||||
RUN a2enmod rewrite
|
||||
|
||||
# Copy semua file proyek ke webroot Apache
|
||||
COPY . /var/www/html/
|
||||
|
||||
# Izin folder api
|
||||
RUN chown -R www-data:www-data /var/www/html/api
|
||||
|
||||
EXPOSE 80
|
||||
Reference in New Issue
Block a user