mirror of
https://github.com/MichaByte/highlight-video-maker.git
synced 2025-12-06 00:23:46 -05:00
dockerize
This commit is contained in:
parent
4a9258a949
commit
021101474e
2 changed files with 21 additions and 0 deletions
5
.dockerignore
Normal file
5
.dockerignore
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
.mypy_cache
|
||||
.vscode
|
||||
__pycache__
|
||||
.venv
|
||||
dist
|
||||
16
Dockerfile
Normal file
16
Dockerfile
Normal 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" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue