Skip to content

Commit c79be64

Browse files
author
litongjava
committed
update 1.0.1-base.en
1 parent 08bfae9 commit c79be64

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed
Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
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
35
WORKDIR /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"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
```
2-
2+
docker build -t litongjava/whisper-asr-server:1.0.1 -f docker/1.0.1-base.en .
33
```

whisper-asr/whisper-asr-server/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
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>

0 commit comments

Comments
 (0)