johannhartmann
commited on
Commit
•
383b9b6
1
Parent(s):
5ed2d21
Dont start mongodb
Browse files- entrypoint.sh +2 -2
entrypoint.sh
CHANGED
@@ -5,7 +5,7 @@ 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 |
|
10 |
# Start the text-generation-inference process
|
11 |
text-generation-launcher --model-id ${MODEL_NAME} --num-shard 1 --port 8080 --trust-remote-code &
|
@@ -20,4 +20,4 @@ pm2 start /app/build/index.js -i $CPU_CORES --no-daemon &
|
|
20 |
wait -n
|
21 |
|
22 |
# Exit with status of process that exited first
|
23 |
-
exit $?
|
|
|
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 |
|
10 |
# Start the text-generation-inference process
|
11 |
text-generation-launcher --model-id ${MODEL_NAME} --num-shard 1 --port 8080 --trust-remote-code &
|
|
|
20 |
wait -n
|
21 |
|
22 |
# Exit with status of process that exited first
|
23 |
+
exit $?
|