From 1981b44e71afacbd8615275ca48261ae937758e1 Mon Sep 17 00:00:00 2001 From: Zoey Date: Thu, 2 May 2024 12:27:19 +0200 Subject: [PATCH] Update Dockerfile Signed-off-by: Zoey --- Dockerfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index ed67d7e..4d221b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,27 +12,27 @@ RUN apk upgrade --no-cache -a && \ if [ "$TARGETARCH" = "amd64" ]; then \ cd /app/client && \ npm_config_target_platform=linux npm_config_target_arch=x64 yarn install --no-lockfile && \ - clean-modules --yes && \ + echo clean-modules --yes && \ cd /app && \ npm_config_target_platform=linux npm_config_target_arch=x64 yarn install --no-lockfile && \ - clean-modules --yes && \ + echo clean-modules --yes && \ npm_config_target_platform=linux npm_config_target_arch=x64 npm run build && \ - clean-modules --yes && \ + echo clean-modules --yes && \ rm -r /app/client/.angular /app/client/node_modules /app/node_modules && \ npm_config_target_platform=linux npm_config_target_arch=x64 yarn install --no-lockfile --production && \ - clean-modules --yes; \ + echo clean-modules --yes; \ elif [ "$TARGETARCH" = "arm64" ]; then \ cd /app/client && \ npm_config_target_platform=linux npm_config_target_arch=arm64 yarn install --no-lockfile && \ - clean-modules --yes && \ + echo clean-modules --yes && \ cd /app && \ npm_config_target_platform=linux npm_config_target_arch=arm64 yarn install --no-lockfile && \ - clean-modules --yes && \ + echo clean-modules --yes && \ npm_config_target_platform=linux npm_config_target_arch=arm64 npm run build && \ - clean-modules --yes && \ + echo clean-modules --yes && \ rm -r /app/client/.angular /app/client/node_modules /app/node_modules && \ npm_config_target_platform=linux npm_config_target_arch=arm64 yarn install --no-lockfile --production && \ - clean-modules --yes; \ + echo clean-modules --yes; \ fi && \ yarn cache clean --all