Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ WORKDIR /var/www/html/
# Enable Apache mod_rewrite (if needed)
RUN a2enmod rewrite

# Install PHP extensions and tools required by the app
RUN apt-get update \
&& apt-get install -y --no-install-recommends libzip-dev unzip \
&& docker-php-ext-configure zip \
&& docker-php-ext-install zip \
&& rm -rf /var/lib/apt/lists/*

# Give write permissions to the web server (if your scripts create files)
RUN chown -R www-data:www-data /var/www/html

Expand Down