Skip to content

Commit

Permalink
💚 ci: copy package json
Browse files Browse the repository at this point in the history
  • Loading branch information
megasanjay committed Dec 9, 2024
1 parent b3b75f6 commit e97beb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ COPY package.json yarn.lock ./
COPY prisma ./prisma/

RUN yarn install --frozen-lockfile \
&& yarn prisma:migrate:deploy \
&& yarn prisma:generate \
&& yarn cache clean

Expand All @@ -35,6 +34,7 @@ RUN apk add --no-cache openssl
WORKDIR /app

# Copy only the necessary files from builder stage
COPY --from=builder /app/package.json ./
COPY --from=builder /app/.output ./
COPY --from=builder /app/node_modules/.prisma ./node_modules/.prisma
COPY --from=builder /app/node_modules/@prisma ./node_modules/@prisma
Expand Down

0 comments on commit e97beb0

Please sign in to comment.