mirror of
https://github.com/tmdinosaurcenter/kiosk-guestbook.git
synced 2026-06-03 23:09:35 -06:00
46dca45e04
- entrypoint.sh: use GUNICORN_WORKERS to match example.env (#17) - guestbook_export.py: read DATABASE_PATH from env instead of hardcoded relative path (#18) - Scrolling marquee: duplicate guest list for seamless loop, animate translateX(0) to translateX(-50%), increase font to 1.25rem, fix JS speed calc to use half content width (#20)
8 lines
347 B
Bash
8 lines
347 B
Bash
#!/bin/sh
|
|
# Process index.html.template to create index.html
|
|
# Adjust the path if your template is located somewhere else
|
|
envsubst < /app/templates/index.html.template > /app/templates/index.html
|
|
|
|
# Start Gunicorn; using an environment variable for workers (default is 3)
|
|
exec gunicorn --bind 0.0.0.0:8000 app:app --workers ${GUNICORN_WORKERS:-3}
|