Spaces:
Paused
Paused
Update Dockerfile
Browse files6 unmodified lines78910111213146 unmodified lines# Copy the application files to the container's web rootCOPY stremio/ /var/www/html# Install required PHP extensions (e.g., mysqli for MySQL support)RUN docker-php-ext-install mysqli# Ensure Apache uses index.php or index.html as the default index fileRUN sed -i 's#DirectoryIndex .*#DirectoryIndex index.php index.html#' /etc/apache2/mods-enabled/dir.conf6 unmodified lines78910111213146 unmodified lines# Copy the application files to the container's web rootCOPY stremio/ /var/www/html# Install required PHP extensions (e.g., sqlite3 for SQLite support)RUN docker-php-ext-install pdo pdo_sqlite# Ensure Apache uses index.php or index.html as the default index fileRUN sed -i 's#DirectoryIndex .*#DirectoryIndex index.php index.html#' /etc/apache2/mods-enabled/dir.conf
Dockerfile+2-2