feat: enhance Dockerfile and README for improved installation and security practices

This commit is contained in:
infosave2007
2026-04-04 18:29:38 +03:00
parent 0098133520
commit c590ec45fa
2 changed files with 17 additions and 1 deletions
+3 -1
View File
@@ -30,7 +30,9 @@ WORKDIR /var/www/html
COPY . /var/www/html
# Install PHP dependencies
RUN composer install --no-dev --optimize-autoloader
RUN git config --global --add safe.directory /var/www/html \
&& composer config --global audit.block-insecure false \
&& composer install --no-dev --optimize-autoloader --no-security-blocking
# Configure Apache
COPY apache.conf /etc/apache2/sites-available/000-default.conf