From b230ae1ceeed5fa615202ddeaeb7cdcf7452df78 Mon Sep 17 00:00:00 2001 From: Benjamin Cretois Date: Mon, 28 Aug 2023 10:24:35 +0200 Subject: [PATCH] [FIX] create audioclip folder THEN copy --- Dockerfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 327d45a..e747a23 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,17 +12,18 @@ RUN pip3 install poetry WORKDIR /app -# Package install -COPY . ./ -RUN poetry config virtualenvs.create false -RUN poetry install --no-root - # Clone the repository and download assets +RUN mkdir audioclip RUN cd audioclip RUN wget https://zenodo.org/record/7969521/files/assets.zip?download=1 RUN unzip ./assets.zip?download=1 RUN cd ../ -ENV PYTHONPATH "${PYTHONPATH}:/app:/app/audioclip" +# Package install +COPY . ./ +RUN poetry config virtualenvs.create false +RUN poetry install --no-root + +ENV PYTHONPATH "${PYTHONPATH}:/app:/app/audioclip:/app:/app/src" ENTRYPOINT [ "./entrypoint.sh" ]