Older Turbo version
This commit is contained in:
parent
2bba839112
commit
9fd39efba4
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ FROM node:20-bookworm AS base
|
||||||
FROM base AS builder
|
FROM base AS builder
|
||||||
ARG APP_DIR=/opt/link
|
ARG APP_DIR=/opt/link
|
||||||
RUN mkdir -p ${APP_DIR}/
|
RUN mkdir -p ${APP_DIR}/
|
||||||
RUN npm i -g turbo@1.10.6
|
RUN npm i -g turbo@1.10.4
|
||||||
WORKDIR ${APP_DIR}
|
WORKDIR ${APP_DIR}
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN turbo prune --scope=link --docker
|
RUN turbo prune --scope=link --docker
|
||||||
|
|
@ -18,7 +18,7 @@ COPY --from=builder ${APP_DIR}/out/package-lock.json ./package-lock.json
|
||||||
RUN npm ci --omit=dev
|
RUN npm ci --omit=dev
|
||||||
|
|
||||||
COPY --from=builder ${APP_DIR}/out/full/ .
|
COPY --from=builder ${APP_DIR}/out/full/ .
|
||||||
RUN npm i -g turbo
|
RUN npm i -g turbo@1.10.4
|
||||||
RUN turbo run build --filter=link
|
RUN turbo run build --filter=link
|
||||||
|
|
||||||
FROM base AS runner
|
FROM base AS runner
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue