Docker image hardened, seems to be working stable
This commit is contained in:
+10
-4
@@ -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"]
|
||||
Reference in New Issue
Block a user