mirror of
https://github.com/supanadit/todo.git
synced 2024-11-23 18:56:42 +00:00
fix: driver not found
This commit is contained in:
parent
730763a58a
commit
33a9702dfe
@ -25,6 +25,8 @@ RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf
|
||||
# Enable Some Apache Mod
|
||||
RUN a2enmod rewrite headers
|
||||
|
||||
RUN docker-php-ext-install pdo pdo_mysql
|
||||
|
||||
#RUN docker-php-ext-install \
|
||||
# bz2 \
|
||||
# intl \
|
||||
|
@ -11,7 +11,9 @@ services:
|
||||
- MYSQL_DATABASE=todo
|
||||
|
||||
todo-app:
|
||||
image: "supanadit/todo:latest"
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "80:80"
|
||||
environment:
|
||||
|
Loading…
Reference in New Issue
Block a user