Skip to content

Commit

Permalink
[FIX] create audioclip folder THEN copy
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCretois committed Aug 28, 2023
1 parent dd6ffed commit b230ae1
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]

0 comments on commit b230ae1

Please sign in to comment.