Spaces:
Paused
Paused
Update Dockerfile
Browse files- 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.,
|
| 11 |
-
RUN docker-php-ext-install
|
| 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
|