Skip to content

Commit 0fb98ba

Browse files
Update base Dockerfile
1 parent 3405b05 commit 0fb98ba

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

docker/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ RUN apt-get update \
2222
RUN pip install --upgrade pip
2323

2424
# Clone the NeMo SDP repository
25-
WORKDIR /src
26-
RUN git clone https://github.com/NVIDIA/NeMo-speech-data-processor.git
25+
COPY . /src/NeMo-speech-data-processor
26+
RUN rm -rf /src/NeMo-speech-data-processor/.git
27+
2728

2829
WORKDIR /src/NeMo-speech-data-processor
2930
#need to install numpy before reqs, even thougth it present in reqs (cause it requred to install [python-sox], otherwise we face an error)
@@ -38,7 +39,7 @@ RUN git clone https://github.com/NVIDIA/NeMo.git /src/NeMo/
3839
WORKDIR /src/NeMo
3940
RUN git reset --hard 0547550ad803fce1e4a019f92e9c59f4c902e7e0
4041
RUN ./reinstall.sh
41-
RUN pip install python-swiftclient ffmpeg-python
42+
RUN pip install ffmpeg-python
4243

4344
# Set working directory back to NeMo-speech-data-processor
4445
WORKDIR /src/NeMo-speech-data-processor

0 commit comments

Comments
 (0)