Add docker entrypoint and env loader
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user