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:
10
Dockerfile
10
Dockerfile
@@ -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"]
|
||||
Reference in New Issue
Block a user