From ecdb6999d21abbaa4be4c9bf064b60d9a3627a34 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Fri, 18 Feb 2022 09:47:18 +0900 Subject: [PATCH] Update the path of poetry files in Dockerfiles --- docker/Dockerfile | 2 +- docker/Dockerfile.prod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 4323c4d7..a05a618b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -25,7 +25,7 @@ RUN apt-get update \ && apt-get clean WORKDIR /tmp -COPY pyproject.toml /tmp/ +COPY backend/pyproject.toml backend/poetry.lock /tmp/ # hadolint ignore=DL3013 RUN pip install --upgrade pip \ diff --git a/docker/Dockerfile.prod b/docker/Dockerfile.prod index fa1ab132..818c4562 100644 --- a/docker/Dockerfile.prod +++ b/docker/Dockerfile.prod @@ -11,7 +11,7 @@ ENV PYTHONUNBUFFERED 1 RUN groupadd -g 61000 doccano \ && useradd -g 61000 -l -M -s /bin/false -u 61000 doccano -COPY --chown=doccano:doccano pyproject.toml poetry.lock /backend/ +COPY --chown=doccano:doccano backend/pyproject.toml backend/poetry.lock /backend/ # hadolint ignore=DL3013 RUN apt-get update \