trying to fix develop.sh not found

This commit is contained in:
Amritanshu Agrawal 2024-10-14 08:48:57 +05:30
parent 5e1fbc2a4c
commit 060f539473

View File

@ -33,7 +33,7 @@ RUN \
FROM base AS runner
WORKDIR /app
COPY --from=builder /app/package.json /app/yarn.lock* /app/package-lock.json* /app/pnpm-lock.yaml* ./
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
RUN apk add --no-cache python3 && \
if [ -f yarn.lock ]; then yarn --frozen-lockfile --production; \
@ -43,8 +43,7 @@ RUN apk add --no-cache python3 && \
fi
COPY --from=builder /app/dist ./
COPY --from=builder /app/medusa-config.js ./
COPY --from=builder /app/develop.sh ./
COPY medusa-config.js develop.sh ./
EXPOSE 9000