update docker execute

This commit is contained in:
khanh97 2023-12-04 02:30:31 +00:00
parent c520847df7
commit f9db4ac453
2 changed files with 2 additions and 3 deletions

View File

@ -1,3 +1,2 @@
#!/bin/bash
docker exec -it magento2 "$@"
docker exec -it magento2 sudo -H -u apache $@

View File

@ -1,3 +1,3 @@
@echo off
echo "run docker..."
docker exec -it magento2 %*
docker exec -it magento2 sudo -H -u apache %*