fix(docker): Fix docker file

The docker file was updated to align with the software
requirements of the app. An additional script `install_odbc.sh` is added
to install the required microsoft ODBC driver.
This commit is contained in:
Tobias Quadfasel
2024-09-03 17:23:41 +02:00
parent d9e570c75a
commit e9adb3c588
3 changed files with 35 additions and 0 deletions

View File

@@ -1,5 +1,13 @@
#!/bin/sh
# Install ODBC driver
./install_odbc.sh
# Start Dash and run in background
echo "Starting Dash app..."
if [ -f "/app/env.sh" ]; then
. "/app/env.sh"
echo "env.sh has been sourced."
fi
poetry run gunicorn app:server -b 0.0.0.0:8000