fix: driver not found

This commit is contained in:
Supan Adit Pratama 2022-05-02 20:27:57 +07:00
parent 730763a58a
commit 33a9702dfe
2 changed files with 5 additions and 1 deletions

View File

@ -25,6 +25,8 @@ RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf
# Enable Some Apache Mod # Enable Some Apache Mod
RUN a2enmod rewrite headers RUN a2enmod rewrite headers
RUN docker-php-ext-install pdo pdo_mysql
#RUN docker-php-ext-install \ #RUN docker-php-ext-install \
# bz2 \ # bz2 \
# intl \ # intl \

View File

@ -11,7 +11,9 @@ services:
- MYSQL_DATABASE=todo - MYSQL_DATABASE=todo
todo-app: todo-app:
image: "supanadit/todo:latest" build:
context: .
dockerfile: Dockerfile
ports: ports:
- "80:80" - "80:80"
environment: environment: