Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
lovegaoshi committed Nov 30, 2024
1 parent ad33f65 commit 17dc371
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM tensorflow/tensorflow:2.18.0
RUN apt update
RUN apt -y install ffmpeg aria2 wget nano git
RUN sudo apt-get update --allow-insecure-repositories
RUN sudo apt-get -y --allow-unauthenticated install ffmpeg aria2 wget nano git
WORKDIR /inaseg
COPY ./requirements.txt /inaseg/requirements.txt
RUN git clone https://github.com/ina-foss/inaSpeechSegmenter.git
RUN git clone https://github.com/lovegaoshi/inaSpeechSegmenter.git
RUN cd inaSpeechSegmenter; pip install .
COPY ./requirements.txt /inaseg/requirements.txt
RUN pip3 install -r /inaseg/requirements.txt
RUN pip3 install --force-reinstall git+https://github.com/grqz/yt-dlp.git@ie/bilibili/pi_fallbk
COPY . /inaseg
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile-gpu
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM tensorflow/tensorflow:2.18.0-gpu
RUN apt update
RUN apt -y install ffmpeg aria2 wget nano git
RUN sudo apt-get update --allow-insecure-repositories
RUN sudo apt-get -y --allow-unauthenticated install ffmpeg aria2 wget nano git
WORKDIR /inaseg
COPY ./requirements.txt /inaseg/requirements.txt
RUN git clone https://github.com/ina-foss/inaSpeechSegmenter.git
RUN git clone https://github.com/lovegaoshi/inaSpeechSegmenter.git
RUN cd inaSpeechSegmenter; pip install .
COPY ./requirements.txt /inaseg/requirements.txt
RUN pip3 install -r /inaseg/requirements.txt
RUN pip3 install --force-reinstall git+https://github.com/grqz/yt-dlp.git@ie/bilibili/pi_fallbk
COPY . /inaseg
Expand Down
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ jupyter
regex
requests
celery
sqlalchemy==1.4.46
sqlalchemy==1.4.46
scikit-image
numpy==1.23.0

0 comments on commit 17dc371

Please sign in to comment.