Create placeholder .env.local in builder stage for Docker
Some checks are pending
CI / Engine — lint / typecheck / test (push) Waiting to run
CI / API — lint / typecheck / test (push) Waiting to run
CI / Web — typecheck / lint / build (push) Waiting to run

This commit is contained in:
Manohar Gupta 2026-05-13 21:31:57 +05:30
parent 614619ca4f
commit 001906ea3c

View file

@ -9,6 +9,9 @@ RUN corepack enable && corepack prepare pnpm@latest --activate
COPY package.json pnpm-lock.yaml ./ COPY package.json pnpm-lock.yaml ./
COPY . . COPY . .
# Create placeholder .env.local if not exists (needed for prod build)
RUN test -f .env.local || echo "# placeholder" > .env.local
# Install dependencies # Install dependencies
RUN pnpm install --frozen-lockfile --ignore-scripts RUN pnpm install --frozen-lockfile --ignore-scripts