fix: actions didn't action. It was the wrong order (#740)

This commit is contained in:
Jay
2025-03-04 21:23:34 -08:00
committed by GitHub
parent 61ab5a192b
commit f896bfa413

View File

@@ -29,6 +29,8 @@ RUN yarn install --immutable
FROM base AS builder
COPY .git/refs ./.git/refs
COPY .git/HEAD ./.git/HEAD
COPY src ./src
COPY next.config.js ./next.config.js
COPY tsup.config.ts ./tsup.config.ts
@@ -53,11 +55,8 @@ ENV PRISMA_QUERY_ENGINE_BINARY=/prisma-engines/query-engine \
ZIPLINE_DOCKER_BUILD=true \
NEXT_TELEMETRY_DISABLED=1
COPY .git/refs ./.git/refs
COPY .git/HEAD ./.git/HEAD
# Copy only the necessary files from the previous stage
COPY --from=builder /zipline/.git ./.git
COPY --from=builder /zipline/dist ./dist
COPY --from=builder /zipline/.next ./.next