fix copy
Some checks failed
Main / build-and-push-docker-image (20.x) (push) Failing after 4m48s

This commit is contained in:
2025-12-06 00:05:57 -05:00
parent 929294bea0
commit 8b74402c6b

View File

@@ -12,7 +12,6 @@ FROM node:20-alpine AS builder
RUN corepack enable
RUN corepack prepare yarn@stable --activate
WORKDIR /app
COPY .yarn ./.yarn
COPY --from=dependencies /app/node_modules ./
COPY . /app/
RUN yarn build
@@ -23,6 +22,6 @@ RUN corepack enable
RUN corepack prepare yarn@stable --activate
WORKDIR /app
COPY --from=builder /app/build /app/build
COPY --from=dependencies /app/.yarn ./.yarn
COPY --from=builder /app/.yarn ./.yarn
CMD ["yarn", "start"] # Replace with your start command