update test dockerfile

This commit is contained in:
Julius Unverfehrt 2022-09-21 13:41:46 +02:00
parent 13d4427c78
commit 76b5a4504a

View File

@ -6,15 +6,23 @@ FROM ${BASE_ROOT}image-prediction:${VERSION_TAG}
WORKDIR /app/service WORKDIR /app/service
COPY src src COPY src src
COPY incl/pyinfra incl/pyinfra
COPY incl/pdf2image incl/pdf2image
COPY data data COPY data data
COPY image_prediction image_prediction COPY image_prediction image_prediction
COPY setup.py setup.py COPY setup.py setup.py
COPY requirements.txt requirements.txt COPY requirements.txt requirements.txt
COPY config.yaml config.yaml COPY config.yaml config.yaml
COPY banner.txt banner.txt
# Install module & dependencies # Install module & dependencies
RUN python3 -m pip install -e .
RUN python3 -m pip install -r requirements.txt RUN python3 -m pip install -r requirements.txt
RUN python3 -m pip install -r incl/pyinfra/requirements.txt
RUN python3 -m pip install -r incl/pdf2image/requirements.txt
RUN python3 -m pip install -e .
RUN python3 -m pip install -e incl/pyinfra
RUN python3 -m pip install -e incl/pdf2image
RUN apt update --yes RUN apt update --yes
RUN apt install vim --yes RUN apt install vim --yes