rayhanzuck commited on
Commit
4ea21cf
·
verified ·
1 Parent(s): 56a5400

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +5 -4
entrypoint.sh CHANGED
@@ -2,10 +2,11 @@
2
 
3
  echo "Downloading project from ZIP_URL=$ZIP_URL"
4
  curl -L "$ZIP_URL" -o project.zip
5
- unzip project.zip
6
- shopt -s dotglob
7
- mv */* . || true
8
- rm -rf project.zip __MACOSX
9
 
 
10
  npm install
 
 
11
  npm run start
 
2
 
3
  echo "Downloading project from ZIP_URL=$ZIP_URL"
4
  curl -L "$ZIP_URL" -o project.zip
5
+ unzip project.zip -d project
6
+ cd project/*/ || cd project # masuk ke folder hasil unzip
 
 
7
 
8
+ echo "Installing dependencies..."
9
  npm install
10
+
11
+ echo "Starting app..."
12
  npm run start