mikmc5 commited on
Commit
e1b3ef1
·
verified ·
1 Parent(s): a798132

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -7,8 +7,8 @@ WORKDIR /var/www/html
7
  # Copy the application files to the container's web root
8
  COPY stremio/ /var/www/html
9
 
10
- # Install required PHP extensions (e.g., mysqli for MySQL support)
11
- RUN docker-php-ext-install mysqli
12
 
13
  # Ensure Apache uses index.php or index.html as the default index file
14
  RUN sed -i 's#DirectoryIndex .*#DirectoryIndex index.php index.html#' /etc/apache2/mods-enabled/dir.conf
 
7
  # Copy the application files to the container's web root
8
  COPY stremio/ /var/www/html
9
 
10
+ # Install required PHP extensions (e.g., sqlite3 for SQLite support)
11
+ RUN docker-php-ext-install pdo pdo_sqlite
12
 
13
  # Ensure Apache uses index.php or index.html as the default index file
14
  RUN sed -i 's#DirectoryIndex .*#DirectoryIndex index.php index.html#' /etc/apache2/mods-enabled/dir.conf