From 40d48be4e21f5ec1050b905c730dab04559d6a72 Mon Sep 17 00:00:00 2001 From: Jordi Mas Date: Sun, 5 Jan 2025 14:45:58 +0100 Subject: [PATCH] Clean images --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9837802..1363956 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,12 @@ +# Alternatively, use a base image with CUDA and cuDNN support FROM nvidia/cuda:12.3.2-cudnn9-runtime-ubuntu22.04 RUN apt-get update && apt-get install -y python3-pip -# Install dependencies -RUN pip3 install --no-cache-dir -r requirements.txt -RUN pip install -U whisper-ctranslate2 +WORKDIR /app +COPY . /app +RUN pip3 install --no-cache-dir -r requirements.txt +RUN pip install -U . -# Set the entry point ENTRYPOINT ["whisper-ctranslate2"]