Clean up and upgrades related to Python requirements, Flask, and FastAPI.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# FROM tiangolo/uvicorn-gunicorn-fastapi:latest
|
||||
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.10
|
||||
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.11
|
||||
|
||||
LABEL maintainer="Scott Idem <scott.idem@oneskyit.com>"
|
||||
|
||||
@@ -26,13 +26,7 @@ COPY conf/aether_fastapi_requirements.txt /tmp/requirements.txt
|
||||
|
||||
RUN pip install --no-cache-dir -r /tmp/requirements.txt
|
||||
|
||||
# RUN pip freeze
|
||||
# RUN mkdir /temp
|
||||
RUN pip freeze > /requirements_current.txt
|
||||
# COPY requirements_current.txt tmp/requirements_current.txt
|
||||
# RUN pip freeze > /logs/requirements_current.txt
|
||||
|
||||
# COPY conf/aether_fastapi_requirements.txt /tmp/requirements.txt
|
||||
|
||||
RUN pip freeze > /aether_fastapi_requirements_current.txt
|
||||
RUN pip freeze > /tmp/aether_fastapi_requirements_current.txt
|
||||
|
||||
CMD ["gunicorn", "--conf", "/conf/gunicorn_fastapi_conf.py"]
|
||||
|
||||
Reference in New Issue
Block a user