File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ COPY frontend/package.json frontend/package-lock.json ./
66RUN npm ci
77
88# Force cache invalidation for source code
9- ARG CACHEBUST=202602201940
9+ ARG CACHEBUST=202602201955
1010RUN echo "Cache bust: $CACHEBUST"
1111
1212COPY frontend/ ./
Original file line number Diff line number Diff line change @@ -47,9 +47,6 @@ async def startup():
4747 except Exception as e :
4848 logger .error (f"Error listing directories: { e } " )
4949
50- # Ensure photos directory exists
51- os .makedirs ("/data/photos" , exist_ok = True )
52-
5350 async with engine .begin () as conn :
5451 await conn .run_sync (Base .metadata .create_all )
5552
@@ -83,6 +80,7 @@ async def health_check():
8380 logger .warning ("frontend/dist/assets NOT FOUND" )
8481
8582# Mount photos directory
83+ os .makedirs ("/data/photos" , exist_ok = True )
8684app .mount ("/api/photos" , StaticFiles (directory = "/data/photos" ), name = "photos" )
8785
8886# Catch-all to serve index.html for SPA (excluding API)
Original file line number Diff line number Diff line change 11name : " WhereIsIt"
2- version : " 0.4.16 "
2+ version : " 0.4.17 "
33slug : " whereisit"
44description : " Physical storage management for Home Assistant"
55url : " https://github.com/D3L05/whereisit"
You can’t perform that action at this time.
0 commit comments