martynka commited on
Commit
4ac0132
·
verified ·
1 Parent(s): f802c65

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -26,7 +26,7 @@ app.secret_key = os.getenv("FLASK_SECRET")
26
 
27
  # MongoDB connection
28
  client = MongoClient(os.getenv("MONGO_URI"))
29
- db = client[
30
 
31
  # Authentication decorator
32
  def sudo_required(f):
 
26
 
27
  # MongoDB connection
28
  client = MongoClient(os.getenv("MONGO_URI"))
29
+ db = client.get_default_database()
30
 
31
  # Authentication decorator
32
  def sudo_required(f):