Quickfix Dockerfile

This commit is contained in:
Julius Unverfehrt 2022-03-02 10:56:37 +01:00
parent 77fec1801c
commit 5ef99f1d37
2 changed files with 7 additions and 3 deletions

View File

@ -10,13 +10,10 @@ RUN python -m pip install --upgrade pip
# Make a directory for the service files and copy the service repo into the container.
WORKDIR /app/service
COPY ./requirements.txt ./requirements.txt
COPY ./incl/redai_image/redai/requirements_user.txt ./requirements_redai.txt
# Install dependencies.
RUN python3 -m pip install -r requirements.txt
RUN python3 -m pip install -r requirements_redai.txt
# Make a new container and copy all relevant files over to filter out temporary files
# produced during setup to reduce the final container's size.
FROM python:3.8

View File

@ -12,3 +12,10 @@ mlflow~=1.20.2
numpy~=1.19.3
PDFNetPython3~=9.1.0
tqdm~=4.62.2
pandas~=1.3.1
mlflow~=1.20.2
tensorflow~=2.5.0
PDFNetPython3~=9.1.0
Pillow~=8.3.2
PyYAML~=5.4.1
scikit_learn~=0.24.2