Add docker entrypoint and env loader

This commit is contained in:
Lectom C Han
2026-02-02 18:52:20 +09:00
parent 0037b90573
commit bf86b1d1e7
30 changed files with 2627 additions and 1547 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM php:8.2-apache
RUN apt-get update \
&& apt-get install -y --no-install-recommends git unzip libpq-dev \
&& docker-php-ext-install pdo_pgsql \
&& a2enmod rewrite \
&& rm -rf /var/lib/apt/lists/*
COPY docker/apache.conf /etc/apache2/conf-available/kngil.conf
RUN a2enconf kngil
COPY docker/entrypoint.sh /usr/local/bin/kngil-entrypoint.sh
RUN chmod +x /usr/local/bin/kngil-entrypoint.sh
ENTRYPOINT ["/usr/local/bin/kngil-entrypoint.sh"]