added node container for webpack build
This commit is contained in:
13
Docker/npm/client-entrypoint.sh
Normal file
13
Docker/npm/client-entrypoint.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
# cat /etc/passwd|grep 1000
|
||||
cd /app
|
||||
|
||||
echo "Cleaning node_modules"
|
||||
rm -rf node_modules
|
||||
|
||||
echo "Npm install"
|
||||
npm install
|
||||
|
||||
echo "Run npm dev"
|
||||
npm run dev
|
||||
Reference in New Issue
Block a user