-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,11 @@ | ||
# Alternatively, use a base image with CUDA and cuDNN support | ||
#FROM nvidia/cuda:11.7.1-cudnn8-runtime-ubuntu20.04 | ||
FROM nvidia/cuda:12.3.2-cudnn9-runtime-ubuntu22.04 | ||
|
||
# Install necessary dependencies | ||
RUN apt-get update && apt-get install -y python3-pip | ||
|
||
# Set the working directory | ||
WORKDIR /app | ||
|
||
# Copy the app code and requirements filed | ||
COPY . /app | ||
|
||
# Install dependencies | ||
RUN pip3 install --no-cache-dir -r requirements.txt | ||
|
||
# Install whisper-ctranslate2 | ||
RUN pip install -U whisper-ctranslate2 | ||
|
||
|
||
# Set the entry point | ||
ENTRYPOINT ["whisper-ctranslate2"] |