mirror of
https://github.com/tmdinosaurcenter/kiosk-guestbook.git
synced 2025-04-23 12:22:26 -06:00
Flask has needs to see that the index.html template is in /app/templates/
, not just /templates/
This commit is contained in:
parent
e6d73c8c0a
commit
73984635e1
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Process index.html.template to create index.html
|
# Process index.html.template to create index.html
|
||||||
# Adjust the path if your template is located somewhere else
|
# Adjust the path if your template is located somewhere else
|
||||||
envsubst < /templates/index.html.template > /templates/index.html
|
envsubst < /app/templates/index.html.template > /app/templates/index.html
|
||||||
|
|
||||||
# Start Gunicorn; using an environment variable for workers (default is 3)
|
# Start Gunicorn; using an environment variable for workers (default is 3)
|
||||||
exec gunicorn --bind 0.0.0.0:8000 app:app --workers ${WORKERS:-3}
|
exec gunicorn --bind 0.0.0.0:8000 app:app --workers ${WORKERS:-3}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user