rayhanzuck commited on
Commit
96c3a94
·
verified ·
1 Parent(s): 74260a2

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +3 -1
entrypoint.sh CHANGED
@@ -5,11 +5,13 @@ mkdir -p /tmp/project
5
  curl -L "$ZIP_URL" -o /tmp/project.zip
6
  unzip /tmp/project.zip -d /tmp/project
7
 
8
- # Cari folder dengan package.json di dalamnya
9
  cd $(find /tmp/project -type f -name "package.json" -exec dirname {} \; | head -n 1)
10
 
11
  echo "Installing dependencies..."
12
  npm install
13
 
 
 
 
14
  echo "Starting app..."
15
  npm run start
 
5
  curl -L "$ZIP_URL" -o /tmp/project.zip
6
  unzip /tmp/project.zip -d /tmp/project
7
 
 
8
  cd $(find /tmp/project -type f -name "package.json" -exec dirname {} \; | head -n 1)
9
 
10
  echo "Installing dependencies..."
11
  npm install
12
 
13
+ echo "Building app..."
14
+ npm run build
15
+
16
  echo "Starting app..."
17
  npm run start