General updates and clean up.
This commit is contained in:
@@ -5,7 +5,33 @@ LABEL maintainer="Scott Idem <scott.idem@oneskyit.com>"
|
||||
|
||||
WORKDIR /srv/aether_api
|
||||
|
||||
# RUN apt install poppler-utils
|
||||
RUN apt-get update; \
|
||||
apt-get install -y \
|
||||
poppler-utils \
|
||||
; \
|
||||
rm -rf /var/lib/apt/lists/*;
|
||||
|
||||
# RUN set -ex; \
|
||||
# \
|
||||
# apt-get update; \
|
||||
# apt-get install -y --no-install-recommends \
|
||||
# poppler-utils \
|
||||
# ; \
|
||||
# rm -rf /var/lib/apt/lists/*;
|
||||
|
||||
RUN pdftoppm -h
|
||||
|
||||
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
|
||||
|
||||
CMD ["gunicorn", "--conf", "/conf/gunicorn_fastapi_conf.py"]
|
||||
|
||||
Reference in New Issue
Block a user