rm hardcoded path in build script

Former-commit-id: 43d4f789b4
This commit is contained in:
Leon 2017-03-20 17:32:36 +13:00
parent f5d3839465
commit f62a0bd348

View file

@ -5,6 +5,6 @@ sudo docker rm -f devmysql
sudo docker rm -f plugindevwp
sudo docker build -t leonstafford/wordpress-static-html-plugin:latest .
sudo docker run --name devmysql -e MYSQL_ROOT_PASSWORD=banana -d mariadb
sudo docker run --name plugindevwp --link devmysql:mysql -p 8080:80 -d -v /home/leon/wordpress-static-html-plugin/:/app leonstafford/wordpress-static-html-plugin
sudo docker run --name plugindevwp --link devmysql:mysql -p 8080:80 -d -r $(pwd):/app leonstafford/wordpress-static-html-plugin
sudo docker exec plugindevwp sh /post_launch.sh
sudo docker exec -it plugindevwp sh /watch_source_files.sh