Skip to content

Commit 27ccceb

Browse files
committed
fix
1 parent 7fd4111 commit 27ccceb

3 files changed

Lines changed: 6 additions & 12 deletions

File tree

‎Dockerfile.production‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@
33
FROM node:24-alpine AS builder
44

55
WORKDIR /app
6-
ADD https://github.com/ComPlat/smart-add.git#edge /app
76
RUN apk add --no-cache libc6-compat
87

98
ENV NEXT_TELEMETRY_DISABLED=1
109

1110
RUN 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 ./
1314
RUN pnpm install --frozen-lockfile
14-
#RUN NODE_OPTIONS="--max-old-space-size=4096" pnpm tsc --noEmit 2>&1
15+
#COPY . .
16+
1517
RUN NODE_OPTIONS="--max-old-space-size=4096" pnpm build
1618

1719
# Stage 3: Production runner

‎docker-compose.yml‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff 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"

‎pages/.gitkeep‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)