Docker image hardened, seems to be working stable

This commit is contained in:
2026-07-30 09:46:31 +00:00
parent 5b0bb25177
commit 9d30844a1e
3 changed files with 17 additions and 9 deletions
+10 -4
View File
@@ -1,8 +1,14 @@
FROM python:3.13-slim
# Install FFmpeg and dependencies (gosu will be downloaded separately)
# Install FFmpeg and dependencies required for gosu installation
RUN apt-get update && \
apt-get install -y --no-install-recommends ffmpeg ca-certificates wget gpg && \
apt-get install -y --no-install-recommends \
ffmpeg \
ca-certificates \
wget \
gnupg \
dirmngr \
gnupg-agent && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
@@ -47,5 +53,5 @@ RUN chmod +x /usr/local/bin/docker-entrypoint.sh
# Set the entrypoint
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
# Default command (shows help if no arguments)
CMD ["audio_splitter", "--help"]
# Default command (shows help if no arguments provided)
CMD ["--help"]