1
Fork 0
mirror of https://github.com/diced/zipline.git synced 2025-04-11 23:31:17 -05:00

fix: problem was from docker action!! O.O

This commit is contained in:
Jay 2025-03-04 22:13:08 -08:00
parent 37af9a9167
commit 6141226828
No known key found for this signature in database
GPG key ID: 97C2E533F17AF0EB
2 changed files with 6 additions and 2 deletions

View file

@ -56,3 +56,5 @@ jobs:
${{ secrets.DOCKERHUB_USERNAME }}/zipline:v3-trunk-${{ steps.version.outputs.zipline_commit }}
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
BUILDKIT_CONTEXT_KEEP_GIT_DIR=1

View file

@ -29,7 +29,8 @@ RUN yarn install --immutable
FROM base AS builder
COPY .git ./.git
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
@ -55,7 +56,8 @@ ENV PRISMA_QUERY_ENGINE_BINARY=/prisma-engines/query-engine \
NEXT_TELEMETRY_DISABLED=1
# Copy only the necessary files from the previous stage
COPY --from=builder /zipline/.git ./.git
COPY --from=builder /zipline/.git/refs ./.git/refs
COPY --from=builder /zipline/.git/HEAD ./.git/HEAD
COPY --from=builder /zipline/dist ./dist
COPY --from=builder /zipline/.next ./.next