abubasith86 commited on
Commit
424afe7
·
verified ·
1 Parent(s): 5100c61

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +5 -4
entrypoint.sh CHANGED
@@ -1,16 +1,17 @@
1
  #!/usr/bin/env bash
2
  set -e
3
 
4
- # Launch NGINX reverse proxy
5
- echo "🚀 Starting Server..."
6
-
7
- # Clone and run your Python backend
8
  WORKDIR=/home/user/app
9
  mkdir -p "$WORKDIR"
10
  cd "$WORKDIR"
11
  rm -rf ./*
12
  echo "Cloning app..."
13
  git clone --depth 1 --branch main https://github.com/abubasith456/chat-bot-backend.git .
 
 
 
 
 
14
  echo "Installing dependencies..."
15
  pip install --no-cache-dir -r requirements.txt
16
 
 
1
  #!/usr/bin/env bash
2
  set -e
3
 
 
 
 
 
4
  WORKDIR=/home/user/app
5
  mkdir -p "$WORKDIR"
6
  cd "$WORKDIR"
7
  rm -rf ./*
8
  echo "Cloning app..."
9
  git clone --depth 1 --branch main https://github.com/abubasith456/chat-bot-backend.git .
10
+
11
+ echo "Initializing submodules..."
12
+ git submodule init
13
+ git submodule update
14
+
15
  echo "Installing dependencies..."
16
  pip install --no-cache-dir -r requirements.txt
17