Spaces:
Build error
Build error
Commit
·
4df6165
1
Parent(s):
277222e
Update entrypoint.sh.template
Browse files- entrypoint.sh.template +2 -0
entrypoint.sh.template
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
#!/bin/bash
|
2 |
|
|
|
|
|
3 |
# Start the local Mongo database
|
4 |
mongod &
|
5 |
|
|
|
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 &
|
7 |
|