fix Docker image: separate static assets from build output

This commit is contained in:
Henning Jacobs
2016-12-21 22:55:15 +01:00
parent 6ae7ee0f46
commit 2a4bf6b0c8
5 changed files with 5 additions and 4 deletions

2
app.py
View File

@@ -91,7 +91,7 @@ def health():
@authorize
def index():
app_js = None
for entry in os.listdir('static'):
for entry in os.listdir('static/build'):
if entry.startswith('app'):
app_js = entry
break