skip env validation
This commit is contained in:
parent
be47e70a00
commit
d414cdb903
2 changed files with 1 additions and 2 deletions
|
@ -213,7 +213,6 @@ docker build . --build-arg TARGET_APP="${APP}" \
|
||||||
[tasks.build-arg-old-app]
|
[tasks.build-arg-old-app]
|
||||||
workspace = false
|
workspace = false
|
||||||
private = true
|
private = true
|
||||||
env = { "SKIP_ENV_VALIDATION" = "true" }
|
|
||||||
script = '''
|
script = '''
|
||||||
cd all_apps/saleor-app-${APP}
|
cd all_apps/saleor-app-${APP}
|
||||||
VERSION=$(npm pkg get version --workspaces=false | tr -d '"')
|
VERSION=$(npm pkg get version --workspaces=false | tr -d '"')
|
||||||
|
|
|
@ -20,7 +20,7 @@ COPY --from=deps /app/node_modules ./node_modules
|
||||||
# Learn more here: https://nextjs.org/telemetry
|
# Learn more here: https://nextjs.org/telemetry
|
||||||
# Uncomment the following line in case you want to disable telemetry during the build.
|
# Uncomment the following line in case you want to disable telemetry during the build.
|
||||||
ENV NEXT_TELEMETRY_DISABLED 1
|
ENV NEXT_TELEMETRY_DISABLED 1
|
||||||
|
ENV SKIP_ENV_VALIDATION 1
|
||||||
RUN corepack enable pnpm && pnpm build
|
RUN corepack enable pnpm && pnpm build
|
||||||
|
|
||||||
# Production image, copy all the files and run next
|
# Production image, copy all the files and run next
|
||||||
|
|
Loading…
Reference in a new issue