Adding more docs, archiving the first version of the script, changing the second version to be the main version, Python 3.12→3.13, updating the Dockerfile to support the main version of the script, updating README.md to reflect the most recent --help
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -1,4 +1,4 @@
|
||||
FROM python:3.12-slim-bookworm
|
||||
FROM python:3.13-slim-trixie
|
||||
|
||||
VOLUME /home
|
||||
|
||||
@@ -6,8 +6,18 @@ COPY video_to_gif.py /home/video_to_gif.py
|
||||
|
||||
WORKDIR /home
|
||||
|
||||
# https://stackoverflow.com/a/52445962
|
||||
RUN apt update -y && \
|
||||
apt upgrade -y && \
|
||||
apt install ffmpeg -y
|
||||
apt install ffmpeg -y && \
|
||||
apt install curl -y && \
|
||||
apt install build-essential -y
|
||||
|
||||
# https://stackoverflow.com/a/49676568
|
||||
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
|
||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
|
||||
# https://crates.io/crates/gifski
|
||||
RUN cargo install gifski
|
||||
|
||||
ENTRYPOINT ["python", "video_to_gif.py"]
|
||||
Reference in New Issue
Block a user