diff --git a/Dockerfile b/Dockerfile index c256a1a..f6bd52b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,9 +26,10 @@ WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . -# Remove old emdash and replace with patched source entirely -RUN rm -rf node_modules/emdash +# Remove old emdash packages and replace with patched source +RUN rm -rf node_modules/emdash node_modules/@emdash-cms/auth RUN cp -r /app/emdash-source/packages/core node_modules/emdash +RUN cp -r /app/emdash-source/packages/auth node_modules/@emdash-cms/auth RUN pnpm build && mkdir -p storage/uploads