ci: regenerar lockfile en builder (rm + pnpm install --no-frozen)
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ RUN pnpm install --frozen-lockfile 2>/dev/null || pnpm install --no-frozen-lockf
|
|||||||
FROM base AS builder
|
FROM base AS builder
|
||||||
COPY . .
|
COPY . .
|
||||||
COPY --from=deps /app/node_modules ./node_modules
|
COPY --from=deps /app/node_modules ./node_modules
|
||||||
RUN pnpm install --no-frozen-lockfile
|
RUN rm -f pnpm-lock.yaml && pnpm install --no-frozen-lockfile
|
||||||
RUN pnpm --filter @moraworld/database exec prisma generate && pnpm --filter @moraworld/database build
|
RUN pnpm --filter @moraworld/database exec prisma generate && pnpm --filter @moraworld/database build
|
||||||
RUN pnpm --filter @moraworld/api build
|
RUN pnpm --filter @moraworld/api build
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ RUN pnpm install --frozen-lockfile 2>/dev/null || pnpm install --no-frozen-lockf
|
|||||||
FROM base AS builder
|
FROM base AS builder
|
||||||
COPY . .
|
COPY . .
|
||||||
COPY --from=deps /app/node_modules ./node_modules
|
COPY --from=deps /app/node_modules ./node_modules
|
||||||
RUN pnpm install --no-frozen-lockfile
|
RUN rm -f pnpm-lock.yaml && pnpm install --no-frozen-lockfile
|
||||||
ARG NEXT_PUBLIC_API_URL=http://localhost:3001
|
ARG NEXT_PUBLIC_API_URL=http://localhost:3001
|
||||||
ENV NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL
|
ENV NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL
|
||||||
RUN pnpm --filter @moraworld/web build
|
RUN pnpm --filter @moraworld/web build
|
||||||
|
|||||||
Reference in New Issue
Block a user