Files
OSIT-AE-Docker-Env/aether_flask_gunicorn.Dockerfile
2023-10-19 18:58:11 -04:00

15 lines
416 B
Docker

# FROM python:latest
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"]