This commit is contained in:
naukyy
2026-06-13 03:53:21 +07:00
parent d18baa80e0
commit f5bccb302c
+9 -5
View File
@@ -1,16 +1,20 @@
FROM php:8.2-apache
# Install PHP extensions & enable Apache modules
RUN docker-php-ext-install pdo_mysql mysqli \
&& a2enmod rewrite headers
COPY index.html /var/www/html/index.html
# Copy application files
COPY portal.html /var/www/html/index.html
COPY webgis_app/ /var/www/html/webgis_app/
COPY db_scripts/ /var/www/html/db_scripts/
COPY 01/ /var/www/html/01/
COPY 02/ /var/www/html/02/
COPY 03/ /var/www/html/03/
COPY final/ /var/www/html/final/
COPY project_final/ /var/www/html/project_final/
COPY database/ /var/www/html/database/
RUN chown -R www-data:www-data /var/www/html
# Set proper permissions
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