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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user