diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 14105f4..79eef54 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -28,7 +28,7 @@ spec: echo "=== WordPress Initialization Started ===" echo "Copying WordPress to emptyDir..." - cp -rp /usr/src/wordpress/* /var/www/html/ + cp -r /usr/src/wordpress/* /var/www/html/ echo "WordPress files copied" if [ ! -d /var/www/html/wp-content/themes ]; then