phase 1 completed

This commit is contained in:
smile 2026-06-06 12:04:59 +02:00
parent a5f928f4e6
commit be5400d349
29 changed files with 318 additions and 24 deletions

View file

@ -19,10 +19,13 @@ RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft-prod.gpg] http
RUN apt-get update && \
ACCEPT_EULA=Y apt-get install -y msodbcsql18
RUN pip install --no-cache-dir pyodbc
COPY cteward_ng/requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements.txt
WORKDIR /app
COPY . .
COPY cteward_ng/ ./
CMD ["python", "main.py"]
EXPOSE 5000
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "2", "--timeout", "120", "app:create_app()"]