Files
OSIT-AE-Docker-Env/aether_flask_gunicorn.Dockerfile
2023-10-19 12:05:21 -04:00

14 lines
395 B
Docker

FROM python:3.11
LABEL maintainer="Scott Idem <scott.idem@oneskyit.com>"
WORKDIR /srv/aether_app
COPY conf/aether_flask_requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements.txt
RUN pip freeze > /aether_flask_requirements_current.txt
RUN pip freeze > /tmp/aether_flask_requirements_current.txt
CMD ["gunicorn", "--conf", "/conf/gunicorn_flask_conf.py"]