Spaces:
Build error
Build error
Commit
·
f95568f
1
Parent(s):
4df6165
Update entrypoint.sh.template
Browse files- entrypoint.sh.template +1 -0
entrypoint.sh.template
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
# Make sure `/data/db` directory exists even with persistent storage
|
|
|
4 |
mkdir -p /data/db
|
5 |
# Start the local Mongo database
|
6 |
mongod &
|
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
# Make sure `/data/db` directory exists even with persistent storage
|
4 |
+
rm /data/db/mongod.lock
|
5 |
mkdir -p /data/db
|
6 |
# Start the local Mongo database
|
7 |
mongod &
|