Everything seems to be working with FastAPI 110 now!! Need to work on SQLAlchemy upgrade to 2.0.29 soon.

This commit is contained in:
Scott Idem
2024-04-26 17:58:17 -04:00
parent f43f13b9e1
commit 341f5ccbee
6 changed files with 140 additions and 36 deletions

View File

@@ -22,7 +22,24 @@ RUN apt-get update; \
COPY conf/aether_fastapi_requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements.txt
RUN pip freeze > /aether_fastapi_requirements_current.txt
RUN pip freeze > /tmp/aether_fastapi_requirements_current.txt
# Freeze the requirements and then export them to a file that is accessible to the host
RUN pip freeze >> /tmp/aether_fastapi_requirements_current.txt
# docker cp ae_api_dev:/tmp/aether_fastapi_requirements_current.txt /home/scott/tmp/docker
# RUN pip freeze > /tmp/aether_fastapi_requirements_new.txt
# RUN cp /tmp/aether_fastapi_requirements_new.txt /tmp/aether_fastapi_requirements_new_copy.txt
# RUN pip freeze > /tmp/aether_fastapi_requirements_current.txt
# RUN cp /aether_fastapi_requirements_current.txt /var/aether_fastapi_requirements_current.txt
# RUN pip freeze >> /var/aether_fastapi_requirements_current.txt
# VOLUME ["/export"]
# RUN pip freeze > /logs/aether_fastapi_requirements_current.txt
# RUN pip freeze > /temp/aether_fastapi_requirements_current.txt
# RUN pip freeze > /tmp/aether_fastapi_requirements_current.txt
# RUN pip freeze > /var/aether_fastapi_requirements_current.txt
# RUN pip freeze
CMD ["gunicorn", "--conf", "/conf/gunicorn_fastapi_conf.py"]