From bd8d0401d4fc653bf236896f19c6d128f508d51b Mon Sep 17 00:00:00 2001 From: Dmitriy Date: Mon, 27 May 2024 19:22:43 +0300 Subject: [PATCH] ci: fix build docker --- apps/client/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/client/Dockerfile b/apps/client/Dockerfile index 84a0080..dea07f2 100644 --- a/apps/client/Dockerfile +++ b/apps/client/Dockerfile @@ -22,10 +22,6 @@ RUN turbo prune --scope=${APP_NAME} --docker # Build the project FROM base AS builder ARG APP_NAME=client -ARG BUILD_MODE=local -ARG APP_DOMAIN -ARG SERVER_DOMAIN - WORKDIR /app @@ -39,6 +35,10 @@ COPY --from=pruner /app/tsconfig.json ./tsconfig.json # First install the dependencies (as they change less often) RUN pnpm install +ARG BUILD_MODE=local +ARG APP_DOMAIN +ARG SERVER_DOMAIN + ENV APP_DOMAIN=$APP_DOMAIN ENV SERVER_DOMAIN=$SERVER_DOMAIN ENV NEXT_TELEMETRY_DISABLED 1