Files
vibeline/Dockerfile
hzrd149 f3cd99a471 Docker compose (#2)
* Add dockerfile
Add example docker compose
Add docker build action
Update extract.sh to use faster-whisper
Update src/extract.py to check and download ollama models

* remove multi-platform build

* add vibeline-ui to docker compose

* Fix VOICE_MEMOS_DIR variable being ignored in some files

* remove requirement for faster-whisper since it comes with whisper-ctranslate2
2025-04-07 11:47:27 +01:00

29 lines
554 B
Docker

FROM python:3.10-slim
WORKDIR /app
# Install ffmpeg
RUN apt-get update && apt-get install -y \
ffmpeg bc \
&& rm -rf /var/lib/apt/lists/*
# Install dependencies first
COPY requirements.txt .
# Install dependencies
RUN pip install -r requirements.txt
# Copy app files
COPY . .
# Setup environment variables
ENV OLLAMA_EXTRACT_MODEL=llama2
ENV OLLAMA_SUMMARIZE_MODEL=llama2
ENV OLLAMA_DEFAULT_MODEL=llama2
ENV WHISPER_MODEL=base.en
ENV VOICE_MEMOS_DIR=/app/VoiceMemos
VOLUME [ "/app/VoiceMemos" ]
CMD ["python", "src/watch_voice_memos.py"]