phase 1 completed
This commit is contained in:
parent
a5f928f4e6
commit
be5400d349
29 changed files with 318 additions and 24 deletions
|
|
@ -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()"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue