move image to volume
This commit is contained in:
@@ -138,7 +138,7 @@ def progress():
|
|||||||
|
|
||||||
@app.route('/image')
|
@app.route('/image')
|
||||||
def get_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__':
|
if __name__ == '__main__':
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: https://git.marlow.quest/ash/Garmin-API.git
|
context: https://git.marlow.quest/ash/Garmin-API.git
|
||||||
container_name: garmin-api
|
container_name: garmin-api
|
||||||
|
volumes:
|
||||||
|
- ./data:/app/data
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
env_file:
|
env_file:
|
||||||
|
|||||||
Reference in New Issue
Block a user