mirror of
https://github.com/supanadit/todo.git
synced 2024-11-24 19:26:22 +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
|
# 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 \
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user