move image to volume
This commit is contained in:
@@ -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__':
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user