gabrielmbmb HF staff commited on
Commit
c6fdfc4
1 Parent(s): af09f20

Add creating `/data/db` directory for persistent storage

Browse files
Files changed (1) hide show
  1. 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