You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
395 B
17 lines
395 B
FROM m.daocloud.io/docker.io/library/node:21.6.2 AS builder
|
|
|
|
WORKDIR /src
|
|
|
|
RUN npm install -g pnpm
|
|
|
|
COPY . .
|
|
|
|
RUN pnpm config set registry https://registry.npmmirror.com
|
|
RUN make build-all
|
|
|
|
FROM m.daocloud.io/docker.io/library/node:21.6.2-slim
|
|
|
|
COPY --from=builder /src/dist/ /apps/dist/
|
|
COPY --from=builder /src/node_modules/ /apps/node_modules/
|
|
COPY --from=builder /src/public/ /apps/public/
|