mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-02-22 17:22:17 +00:00
attempt 4 docker
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 16s
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 16s
This commit is contained in:
parent
994956a98d
commit
8e068f1aa5
@ -29,10 +29,14 @@ COPY . .
|
|||||||
# 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
|
||||||
|
|
||||||
|
ARG DATABASE_URL
|
||||||
|
ENV DATABASE_URL=${DATABASE_URL}
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
if [ -f yarn.lock ]; then yarn run build; \
|
if [ -f yarn.lock ]; then yarn run build; \
|
||||||
elif [ -f package-lock.json ]; then npm 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 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; \
|
else echo "Lockfile not found." && exit 1; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user