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:
ksyasuda
2024-09-06 02:14:12 -07:00
parent 497320c082
commit 1c0eb91333
8 changed files with 85 additions and 115 deletions

View File

@@ -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