Dockerfile: build core package directly instead of using workspace filter
This commit is contained in:
@@ -16,10 +16,10 @@ WORKDIR /app
|
||||
RUN git clone --depth=1 https://git.moreminimore.com/kunthawat/emdash-patch-imageupload.git emdash-source
|
||||
WORKDIR /app/emdash-source
|
||||
|
||||
# Build only the emdash package (it's named "emdash" not "@emdash-cms/core")
|
||||
# Build only the core package directly (not via workspace filter)
|
||||
RUN corepack enable && corepack prepare pnpm@9.0.0 --activate
|
||||
RUN pnpm install
|
||||
RUN pnpm build --filter emdash
|
||||
RUN cd packages/core && pnpm build
|
||||
|
||||
# Return to app and copy source
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user