WebHub360 commited on
Commit
5fddba9
·
verified ·
1 Parent(s): 3cf2041

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +1 -8
entrypoint.sh CHANGED
@@ -1,13 +1,6 @@
1
  #!/bin/bash
2
 
3
- # Make sure `/data/db` directory exists even with persistent storage
4
- mkdir -p /data/db
5
- # If app crashed, mongo didn't stop gracefully. Remove all the old *.lock files
6
- find /data/db -name "*.lock" -type f -exec rm -f {} \;
7
- # Start the local Mongo database
8
- mongod &
9
- MONGO_PID=$!
10
- echo "MongoDB started with PID: $MONGO_PID"
11
 
12
  # Display model being loaded
13
  echo "Starting text-generation-inference with model: ${MODEL_NAME}"
 
1
  #!/bin/bash
2
 
3
+ # Skip MongoDB startup since we're using external MongoDB
 
 
 
 
 
 
 
4
 
5
  # Display model being loaded
6
  echo "Starting text-generation-inference with model: ${MODEL_NAME}"