Add docker entrypoint and env loader

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

No files matched your search

+14
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"]