update to use sqlalchemy
- change from mysql-connector-python to sqlalchemy
- allow for connection to sqlite3, mysql, mariadb, postgres, and
oracle databases
- change `DATE` columns to `DATETIME` type
- add WHO columns
- install database connectors and required packages
This commit is contained in:
@@ -5,6 +5,12 @@ FROM python:3.10-slim
|
||||
ENV LISTEN_ADDRESS="0.0.0.0" \
|
||||
LISTEN_PORT=8080
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
build-essential \
|
||||
libpq-dev \
|
||||
gcc \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Set the working directory in the container
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user