From 8b9771373b4327ec3ab3478d8135d1910c855474 Mon Sep 17 00:00:00 2001 From: "francisco.schulz" Date: Mon, 19 Jun 2023 11:26:15 +0200 Subject: [PATCH] copy image_prediction folder, not just files --- Dockerfile | 3 ++- Dockerfile_tests | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 67c4038..ababccf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,8 @@ ENV PATH="$POETRY_HOME/bin:$PATH" RUN curl -sSL https://install.python-poetry.org | python3 - COPY ./data ./data -COPY pyproject.toml poetry.lock banner.txt config.yaml ./src ./image_prediction ./ +COPY ./image_prediction ./image_prediction +COPY pyproject.toml poetry.lock banner.txt config.yaml ./src ./ RUN poetry config virtualenvs.create false && \ poetry config installer.max-workers 10 && \ diff --git a/Dockerfile_tests b/Dockerfile_tests index 28247b7..561aca7 100644 --- a/Dockerfile_tests +++ b/Dockerfile_tests @@ -20,7 +20,8 @@ ENV PATH="$POETRY_HOME/bin:$PATH" RUN curl -sSL https://install.python-poetry.org | python3 - COPY ./data ./data -COPY pyproject.toml poetry.lock banner.txt config.yaml ./src ./image_prediction ./ +COPY ./image_prediction ./image_prediction +COPY pyproject.toml poetry.lock banner.txt config.yaml ./src ./ RUN poetry config virtualenvs.create false && \ poetry config installer.max-workers 10 && \