0
0
docker-images/dockerfiles/whisper-ctranslate2.Dockerfile
2023-12-19 12:59:43 +08:00

24 lines
540 B
Docker

# Use the base image with CUDA and cuDNN support
#FROM nvidia/cuda:11.7.1-cudnn8-runtime-ubuntu20.04
# Use Ubuntu as base
FROM ubuntu:20.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 the app 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"]