docker compose exemplified, .env integration

This commit is contained in:
Reindl David (IT-PTR-CEN2-SL10) committed 2026-10-07 18:59:58 +02:00
1 parent b1284f6fa9
commit 42ef989fb7
6 files changed
+22 -5

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ COPY . /var/www/html/
RUN composer install --no-dev --optimize-autoloader --no-interaction --prefer-dist \
&& mkdir -p logs \
&& chmod 755 logs \
&& cp -n .env.example .env \
&& if [ ! -f .env ]; then cp .env.example .env; fi \
&& chown -R www-data:www-data /var/www/html
EXPOSE 8080