Update build.sh
This commit is contained in:
parent
684c3f16a0
commit
71bc98b2f2
7
build.sh
7
build.sh
|
@ -7,11 +7,8 @@ docker build -t simple-jaeger .
|
||||||
docker run -d --name simple-jaeger simple-jaeger
|
docker run -d --name simple-jaeger simple-jaeger
|
||||||
|
|
||||||
# Copy the plugin files to the wp-content/plugins directory on the host
|
# Copy the plugin files to the wp-content/plugins directory on the host
|
||||||
docker cp simple-jaeger:/var/www/html/wp-content/plugins/simple-jaeger ./wp-content/plugins/simple-jaeger
|
docker cp simple-jaeger:/var/www/html/wp-content/plugins/simple-jaeger ./wp-content/plugins/
|
||||||
|
|
||||||
# Stop and remove the container
|
# Stop and remove the container
|
||||||
docker stop simple-jaeger
|
docker stop simple-jaeger
|
||||||
docker rm simple-jaeger
|
docker rm simple-jaeger
|
||||||
|
|
||||||
# Set the correct permissions for the files
|
|
||||||
chown -R www-data:www-data wp-content/plugins/simple-jaeger
|
|
Loading…
Reference in New Issue