Trim repo-only files from Docker image
This commit is contained in:
+11
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user