From d414cdb9030005742588fb4918ceab629eadeb04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Djk=C3=A1=C5=A5o?= Date: Tue, 14 May 2024 19:59:26 +0200 Subject: [PATCH] skip env validation --- Makefile.toml | 1 - other.Dockerfile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index 27cfe52..2e669dd 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -213,7 +213,6 @@ docker build . --build-arg TARGET_APP="${APP}" \ [tasks.build-arg-old-app] workspace = false private = true -env = { "SKIP_ENV_VALIDATION" = "true" } script = ''' cd all_apps/saleor-app-${APP} VERSION=$(npm pkg get version --workspaces=false | tr -d '"') diff --git a/other.Dockerfile b/other.Dockerfile index 636c75e..97409bb 100644 --- a/other.Dockerfile +++ b/other.Dockerfile @@ -20,7 +20,7 @@ COPY --from=deps /app/node_modules ./node_modules # Learn more here: https://nextjs.org/telemetry # Uncomment the following line in case you want to disable telemetry during the build. ENV NEXT_TELEMETRY_DISABLED 1 - +ENV SKIP_ENV_VALIDATION 1 RUN corepack enable pnpm && pnpm build # Production image, copy all the files and run next