diff --git a/Dockerfile b/Dockerfile index 284fcaf..b906897 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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