🔧 Skip env validation during docker build

This commit is contained in:
Luke Vella 2024-07-05 10:33:30 +01:00
parent 104d214d2e
commit b631d0765d
3 changed files with 3 additions and 1 deletions

View file

@ -24,7 +24,7 @@ ENV NEXT_PUBLIC_APP_VERSION=$APP_VERSION
ARG SELF_HOSTED
ENV NEXT_PUBLIC_SELF_HOSTED=$SELF_HOSTED
RUN yarn build
RUN SKIP_ENV_VALIDATION=1 yarn build
FROM node:20 AS runner