minors improvements
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user