14 lines
395 B
Docker
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"]
|