diff --git a/Dockerfile b/Dockerfile index 5377262..46ac9dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,8 @@ COPY . . # 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/dist node_modules/@emdash-cms/auth +# Copy full auth package (not just dist/) so exports map is preserved +RUN cp -r /app/emdash-source/packages/auth node_modules/@emdash-cms/auth RUN pnpm build && mkdir -p storage/uploads