File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33FROM node:24-alpine AS builder
44
55WORKDIR /app
6- ADD https://github.com/ComPlat/smart-add.git#edge /app
76RUN apk add --no-cache libc6-compat
87
98ENV NEXT_TELEMETRY_DISABLED=1
109
1110RUN corepack enable && corepack prepare pnpm@latest --activate
12- #RUN pnpm install --lockfile-only
11+
12+ ADD https://github.com/ComPlat/smart-add.git#edge /app
13+ #COPY package.json pnpm-lock.yaml ./
1314RUN pnpm install --frozen-lockfile
14- #RUN NODE_OPTIONS="--max-old-space-size=4096" pnpm tsc --noEmit 2>&1
15+ #COPY . .
16+
1517RUN NODE_OPTIONS="--max-old-space-size=4096" pnpm build
1618
1719# Stage 3: Production runner
Original file line number Diff line number Diff line change @@ -8,10 +8,4 @@ services:
88 - NEXT_TELEMETRY_DISABLED=1
99 restart : unless-stopped
1010 expose :
11- - " 3000"
12- volumes :
13- - app_data:/app
14-
15-
16- volumes :
17- app_data :
11+ - " 3000:3000"
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments