dockerize

This commit is contained in:
Micha Albert 2025-03-10 14:40:23 -04:00
parent 4a9258a949
commit 021101474e
2 changed files with 21 additions and 0 deletions

5
.dockerignore Normal file
View file

@ -0,0 +1,5 @@
.mypy_cache
.vscode
__pycache__
.venv
dist

16
Dockerfile Normal file
View file

@ -0,0 +1,16 @@
FROM python:3.13-slim
WORKDIR /usr/src/app
RUN apt-get update && apt-get install -y ffmpeg bash
RUN pip install --upgrade pip && \
pip install --upgrade build
RUN python -m venv .venv
COPY . .
RUN . ./.venv/bin/activate && pip install .
ENTRYPOINT [ "./.venv/bin/highlight-video-maker" ]