minors improvements

This commit is contained in:
2020-10-23 11:11:05 +02:00
parent 13624b173a
commit 35a7841864
3 changed files with 6 additions and 4 deletions
+4 -2
View File
@@ -1,10 +1,12 @@
#!/bin/sh #!/bin/sh
# cat /etc/passwd|grep 1000 # cat /etc/passwd|grep 1000
cd /app
echo "Cleaning node_modules"
rm -rf node_modules
echo "Npm install" echo "Npm install"
cd /app
npm install npm install
echo "Run npm dev" echo "Run npm dev"
+1 -1
View File
@@ -37,7 +37,7 @@ restart_client:
docker-compose restart client docker-compose restart client
exec_client: exec_client:
docker exec -it muntadas_client_1 bash docker exec -it muntadas_client_1 sh
# #
# exec_mysql: # exec_mysql:
+1 -1
View File
@@ -7,7 +7,7 @@ services:
- "${CLIENT_ROOT}:/app" - "${CLIENT_ROOT}:/app"
# - client-home:/home/gdp # - client-home:/home/gdp
ports: ports:
- 8788:8988 - 8788:8788
working_dir: "/app" working_dir: "/app"
# volumes: # volumes: