Trim repo-only files from Docker image

This commit is contained in:
Dymas
2026-05-26 20:01:52 +02:00
parent 2c1650d699
commit c757a58f69
4 changed files with 19 additions and 3 deletions
+11 -1
View File
@@ -47,7 +47,17 @@ RUN curl -fL "${YT_DLP_RELEASE_URL}" -o /usr/local/bin/yt-dlp \
&& yt-dlp --version
RUN git clone --depth 1 "${ANI_CLI_WEB}" /app \
&& rm -rf /app/.git
&& rm -rf /app/.git \
&& rm -f \
/app/.dockerignore \
/app/.gitignore \
/app/CHANGELOG.md \
/app/Dockerfile \
/app/README.md \
/app/ani-cli-web \
/app/docker-compose.yaml \
/app/docker-entrypoint.sh \
/app/test_app.py
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh