skip env validation

This commit is contained in:
Djkáťo 2024-05-14 19:59:26 +02:00
parent be47e70a00
commit d414cdb903
2 changed files with 1 additions and 2 deletions

View file

@ -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 '"')

View file

@ -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