Skip to content

Commit b8708e4

Browse files
authored
Merge pull request #1 from SystemZ/dockerfile
basic Dockerfile
2 parents 6482c04 + 2653a4c commit b8708e4

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM debian:bookworm-slim
2+
3+
RUN apt-get update \
4+
&& apt-get install -y --no-install-recommends git python3-pip bash \
5+
&& rm -rf /var/lib/apt/lists/*
6+
7+
RUN git clone https://github.com/ser/wyoming-whisper-api-client
8+
RUN pip3 install --no-cache-dir --break-system-packages -r wyoming-whisper-api-client/requirements.txt
9+
10+
WORKDIR /wyoming-whisper-api-client/
11+
ADD run.sh ./
12+
RUN chmod +x run.sh
13+
14+
ENTRYPOINT ["bash", "/wyoming-whisper-api-client/run.sh"]

run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
python3 -m wyoming_whisper_api_client "$@"
3+

0 commit comments

Comments
 (0)