chore: prepare docker webgis deployment

This commit is contained in:
Andrie
2026-06-11 18:14:21 +07:00
parent d2214ad9c8
commit a90748d9c1
149 changed files with 20844 additions and 5 deletions
+16
View File
@@ -0,0 +1,16 @@
FROM php:8.2-apache
RUN apt-get update \
&& apt-get install -y --no-install-recommends libonig-dev \
&& docker-php-ext-install mysqli mbstring \
&& a2enmod rewrite headers \
&& rm -rf /var/lib/apt/lists/*
COPY docker/apache-webgis.conf /etc/apache2/conf-available/webgis.conf
RUN a2enconf webgis
WORKDIR /var/www/html
COPY . /var/www/html/
RUN mkdir -p /var/www/html/WebgisPovertyMapping/tmp \
&& chown -R www-data:www-data /var/www/html/WebgisPovertyMapping/tmp