XciD HF Staff commited on
Commit
c606cea
·
verified ·
1 Parent(s): edc0190

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM node:24
2
 
3
  # Install pnpm
4
  RUN npm install -g pnpm
@@ -10,7 +10,7 @@ WORKDIR /app
10
  COPY package.json pnpm-lock.yaml* ./
11
 
12
  # Install all dependencies, including dev dependencies
13
- RUN pnpm install --frozen-lockfile --config.max_old_space_size=3072
14
 
15
  # Copy the rest of the application code
16
  COPY . .
 
1
+ FROM node:22
2
 
3
  # Install pnpm
4
  RUN npm install -g pnpm
 
10
  COPY package.json pnpm-lock.yaml* ./
11
 
12
  # Install all dependencies, including dev dependencies
13
+ RUN pnpm install --frozen-lockfile
14
 
15
  # Copy the rest of the application code
16
  COPY . .