File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,5 +7,8 @@ target "default" {
77 context = " ."
88 args = {
99 " ENVIRONMENT" = " cartesi"
10+ " NODE_VERSION" = " 22.22-alpine3.23"
11+ " TURBO_VERSION" = " 2.8.11"
12+ " PNPM_VERSION" = " 10.25.0"
1013 }
1114}
Original file line number Diff line number Diff line change 11ARG NODE_VERSION=22.22-alpine3.23
22
33FROM node:${NODE_VERSION} AS base
4-
4+ ARG PNPM_VERSION
55RUN corepack enable
6- RUN corepack prepare pnpm@10.25.0 --activate
6+ RUN corepack prepare pnpm@${PNPM_VERSION} --activate
77
88FROM base AS builder
99RUN apk add --no-cache libc6-compat
1010RUN apk update
1111
1212WORKDIR /app
13- RUN npm install -g turbo@^2.8.11
13+ ARG TURBO_VERSION
14+ RUN npm install -g turbo@^${TURBO_VERSION}
1415COPY . .
1516RUN turbo prune --scope=explorer --docker
1617
@@ -46,7 +47,6 @@ ENV NODE_ENV=production
4647RUN addgroup --system --gid 1001 nodejs
4748RUN adduser --system --uid 1001 nextjs
4849
49- # COPY --from=installer /app/apps/web/public ./public
5050COPY --from=installer /app/apps/explorer/next.config.ts .
5151COPY --from=installer /app/apps/explorer/package.json .
5252
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: "3.9"
22
33services :
44 proxy :
5- image : traefik:v2.10
5+ image : traefik:v3.3.7
66 ports :
77 - 8080:8080
88 - 8088:8088
You can’t perform that action at this time.
0 commit comments