Spaces:
Running
Running
Update Dockerfile
Browse files- 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):
|