Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
FROM python:3.11-slim

# Set working directory
WORKDIR /app

# Install required system packages
RUN apt-get update && apt-get install -y \
git \
ffmpeg \
cython3 \
build-essential \
cmake \
libsndfile1 \
&& rm -rf /var/lib/apt/lists/*

# Install pybind11 globally for C++ extensions
RUN pip install pybind11

# Copy requirement and constraint files
COPY requirements.txt constraints.txt ./

# Install Python dependencies
RUN pip install --upgrade pip && \
pip install -c constraints.txt -r requirements.txt

# Copy your entire project code
COPY . .

# Set default run command
ENTRYPOINT ["python", "diarize.py"]
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<h1 align="center">Speaker Diarization Using OpenAI Whisper</h1>

[![FreePalestine.Dev](https://freepalestine.dev/header/1)](https://freepalestine.dev)

<p align="center">
<a href="https://github.com/MahmoudAshraf97/whisper-diarization/actions/workflows/test_run.yml">
Expand Down