move image to volume

This commit is contained in:
ash
2026-03-31 09:08:03 +01:00
parent be3823db16
commit afc07b855b
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ def progress():
@app.route('/image')
def get_image():
return send_file("logo.bin", mimetype='application/octet-stream')
return send_file("/app/data/logo.bin", mimetype='application/octet-stream')
if __name__ == '__main__':
View File
+2
View File
@@ -3,6 +3,8 @@ services:
build:
context: https://git.marlow.quest/ash/Garmin-API.git
container_name: garmin-api
volumes:
- ./data:/app/data
ports:
- "5000:5000"
env_file: