Add voting deadline function
This commit is contained in:
@@ -76,8 +76,9 @@ echo "Database connection established!"\n\
|
||||
# Initialize database if needed\n\
|
||||
python -c "from db_setup import db_config_manager; db_config_manager.load_config(); db_config_manager._update_environment_variables()"\n\
|
||||
\n\
|
||||
# Start the application\n\
|
||||
exec python main.py' > /app/start.sh && \
|
||||
# Start the application with gunicorn\n\
|
||||
echo "Starting application with gunicorn..."\n\
|
||||
exec gunicorn --config gunicorn.conf.py main:app' > /app/start.sh && \
|
||||
chmod +x /app/start.sh && \
|
||||
chown appuser:appuser /app/start.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user