A bunch of stuff, including outsourcing globs to the shell, positional input argument, more consistent edocs, and better Docker handling

This commit is contained in:
2024-07-05 21:41:03 -04:00
parent ad29252a41
commit 8edf92e0cc
3 changed files with 47 additions and 38 deletions

View File

@@ -1,11 +1,13 @@
FROM python:3.12-slim-bookworm
WORKDIR /app
VOLUME /home
COPY video_to_gif.py /app/video_to_gif.py
COPY video_to_gif.py /home/video_to_gif.py
RUN apt update && \
apt upgrade && \
WORKDIR /home
RUN apt update -y && \
apt upgrade -y && \
apt install ffmpeg -y
ENTRYPOINT ["python", "video_to_gif.py"]