cstr commited on
Commit
6a1d1be
·
verified ·
1 Parent(s): 5239f17

Fix Space Docker build source checkout

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -5,7 +5,10 @@ RUN apt-get update && \
5
  apt-get install -y build-essential cmake git curl && \
6
  rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
7
 
8
- COPY . /src/CrispASR
 
 
 
9
  RUN cmake -B build -DWHISPER_BUILD_TESTS=OFF && \
10
  cmake --build build -j"$(nproc)" --target whisper-cli
11
 
 
5
  apt-get install -y build-essential cmake git curl && \
6
  rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
7
 
8
+ ARG CRISPASR_REPO=https://github.com/CrispStrobe/CrispASR
9
+ ARG CRISPASR_REF=main
10
+
11
+ RUN git clone --depth 1 --branch "${CRISPASR_REF}" "${CRISPASR_REPO}" /src/CrispASR
12
  RUN cmake -B build -DWHISPER_BUILD_TESTS=OFF && \
13
  cmake --build build -j"$(nproc)" --target whisper-cli
14