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.
14 lines
252 B
Bash
14 lines
252 B
Bash
#!/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
|