From f62a0bd348dba8345c4a3cdce86a9c6824db4edb Mon Sep 17 00:00:00 2001 From: Leon Date: Mon, 20 Mar 2017 17:32:36 +1300 Subject: [PATCH] rm hardcoded path in build script Former-commit-id: 43d4f789b4787466e25162bce81fa20aa02613e1 --- destroy_and_rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/destroy_and_rebuild.sh b/destroy_and_rebuild.sh index 0653639c..c4ff17bf 100755 --- a/destroy_and_rebuild.sh +++ b/destroy_and_rebuild.sh @@ -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