Dockerfile: replace entire emdash package with patched source
This commit is contained in:
@@ -26,8 +26,9 @@ WORKDIR /app
|
|||||||
COPY --from=deps /app/node_modules ./node_modules
|
COPY --from=deps /app/node_modules ./node_modules
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Replace emdash dist contents with patched source (keep package.json)
|
# Remove old emdash and replace with patched source entirely
|
||||||
RUN rm -rf node_modules/emdash/dist && cp -r /app/emdash-source/packages/core/dist/* node_modules/emdash/
|
RUN rm -rf node_modules/emdash
|
||||||
|
RUN cp -r /app/emdash-source/packages/core node_modules/emdash
|
||||||
|
|
||||||
RUN pnpm build && mkdir -p storage/uploads
|
RUN pnpm build && mkdir -p storage/uploads
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user