Amend dockerfile to work with a bind mount

This will mount the current directory as the code for the site in the container.
This commit is contained in:
Robin Whittleton 2021-02-08 21:35:36 +01:00 committed by Alex Cabal
parent 0ffcb889e9
commit 39d21db8c7
3 changed files with 6 additions and 5 deletions

View file

@ -1,5 +1,8 @@
#!/bin/sh
cd /standardebooks.org/web
composer install
ln -s /standardebooks.org/web/config/apache/standardebooks.test.conf /etc/apache2/sites-available/
ln -s /standardebooks.org/web/config/php/fpm/standardebooks.org.ini /etc/php/*/cli/conf.d/
ln -s /standardebooks.org/web/config/php/fpm/standardebooks.org.ini /etc/php/*/fpm/conf.d/