From 42fbcddcc2ed4adaa20626eb09718e8eddf62c0e Mon Sep 17 00:00:00 2001 From: tommytrg Date: Thu, 28 Nov 2024 12:36:25 +0100 Subject: [PATCH] ff --- docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 756d590..1597b7b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -18,7 +18,8 @@ WORKDIR /data RUN corepack enable && corepack prepare yarn@3.0.1 --activate # Subroutine for arm64 platform -RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \ +RUN set -e; \ + if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \ echo "Current platform linux/amd64"; \ yarn; \ yarn build; \