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:
parent
37af9a9167
commit
6141226828
2 changed files with 6 additions and 2 deletions
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue