tidy up directory structure

This commit is contained in:
Ray Elliott 2020-03-10 19:36:39 +00:00
parent fc03c45be3
commit b0c47f63d1
4 changed files with 3 additions and 3 deletions

View File

@ -16,10 +16,10 @@ $_ssh_cmd "mkdir -p $_docker_dir/wordpress"
echo "Copying files ..." echo "Copying files ..."
scp -r production/config "$_scp_to_base"/config scp -r production/config "$_scp_to_base"/config
scp production/Dockerfile "$_scp_to_base"/Dockerfile scp production/docker/Dockerfile "$_scp_to_base"/Dockerfile
scp production/entrypoint.sh "$_scp_to_base"/entrypoint.sh scp production/docker/entrypoint.sh "$_scp_to_base"/entrypoint.sh
scp .env "$_scp_to_base"/.env scp .env "$_scp_to_base"/.env
scp production/docker-compose.yml "$_scp_to_base"/docker-compose.yml scp production/docker/docker-compose.yml "$_scp_to_base"/docker-compose.yml
scp wordpress.tar.gz "$_scp_to_base"/wordpress.tar.gz scp wordpress.tar.gz "$_scp_to_base"/wordpress.tar.gz
$_ssh_cmd "tar -xf $_docker_dir/wordpress.tar.gz -C $_docker_dir/wordpress && rm $_docker_dir/wordpress.tar.gz" $_ssh_cmd "tar -xf $_docker_dir/wordpress.tar.gz -C $_docker_dir/wordpress && rm $_docker_dir/wordpress.tar.gz"