attempt 4 docker
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 16s

This commit is contained in:
i701 2025-01-11 01:55:43 +05:00
parent 994956a98d
commit 8e068f1aa5
Signed by: i701
GPG Key ID: 54A0DA1E26D8E587

View File

@ -29,10 +29,14 @@ COPY . .
# Uncomment the following line in case you want to disable telemetry during the build.
# ENV NEXT_TELEMETRY_DISABLED=1
ARG DATABASE_URL
ENV DATABASE_URL=${DATABASE_URL}
RUN \
if [ -f yarn.lock ]; then yarn run build; \
elif [ -f package-lock.json ]; then npm run build; \
elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm run build; \
elif [ -f bun.lock ]; then bun run build; \
else echo "Lockfile not found." && exit 1; \
fi