File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed
whisper-asr/whisper-asr-server Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1- FROM openjdk:11-jdk-slim
1+ # Use litongjava/jdk:8u211 as the base image
2+ FROM litongjava/jdk:8u211
23
4+ # Set the working directory in the container
35WORKDIR /app
46
5- COPY ./target/whisper-asr-server-1.0.0.jar /app/
67
7- COPY models/ggml-base.en.bin /root/.cache/whisper/ggml-base.en.bin
88
9- CMD ["java", "-jar", "whisper-asr-server-1.0.0.jar"]
9+ # Copy the jar file into the container
10+ COPY ./target/whisper-asr-server-1.0.1.jar /app/
11+ COPY models/ggml-large.bin /root/.cache/whisper/ggml-large.bin
12+
13+ # Command to run the jar file
14+ CMD ["java", "-jar", "whisper-asr-server-1.0.1.jar"]
Original file line number Diff line number Diff line change 11```
2-
2+ docker build -t litongjava/whisper-asr-server:1.0.1 -f docker/1.0.1-base.en .
33```
Original file line number Diff line number Diff line change 66 <version >1.0.0</version >
77 </parent >
88 <artifactId >whisper-asr-server</artifactId >
9+ <version >1.0.1</version >
910 <properties >
1011 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1112 <java .version>1.8</java .version>
You can’t perform that action at this time.
0 commit comments