From e99e268ec916da44233cf12ed74b2771b5d70918 Mon Sep 17 00:00:00 2001 From: juniorbotelho Date: Fri, 10 Feb 2023 22:33:39 -0300 Subject: [PATCH] chore: fix wrong folders path and incorrect 'cache clean' command from apk --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 222ee24..abeeec3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,8 +38,8 @@ RUN chmod u+x "/docker/scripts/entrypoint.sh" &&\ RUN apk update; apk add zip --no-cache &&\ rm -rf .git; mkdir -p "tmp/zip" &&\ zip -r "tmp/zip/librex.zip" . -x "./scripts/**\*" "./Dockerfile\*" &&\ - find -maxdepth 1 ! -name "scripts/" ! -name "tmp/" ! -name "./" -exec rm -rv {} \; &&\ - apk del -r zip; apk cache clean; + find -maxdepth 1 ! -name "scripts" ! -name "tmp" ! -name "." -exec rm -rv {} \; &&\ + apk del -r zip; # Configures the container to be run as an executable. ENTRYPOINT ["/bin/sh", "-c", "/docker/scripts/entrypoint.sh"]