diff --git a/app/main.py b/app/main.py index a2ceb21..aa14637 100644 --- a/app/main.py +++ b/app/main.py @@ -23,7 +23,7 @@ if os.path.isfile("/tmp/first_run") and (os.environ.get("RELOAD_ON_FIRST_RUN", " print("First run ... load data") with SessionLocal() as db: asyncio.run(admin.create_upload_file(include_non_singable=True, db=db)) - os.remove("first_run") + os.remove("/tmp/first_run") # Base.metadata.create_all(engine)