Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -10,7 +10,8 @@ WORKDIR /app
|
|
10 |
COPY package.json pnpm-lock.yaml* ./
|
11 |
|
12 |
# Install all dependencies, including dev dependencies
|
13 |
-
|
|
|
14 |
|
15 |
# Copy the rest of the application code
|
16 |
COPY . .
|
|
|
10 |
COPY package.json pnpm-lock.yaml* ./
|
11 |
|
12 |
# Install all dependencies, including dev dependencies
|
13 |
+
ENV NODE_OPTIONS=--max_old_space_size=8192
|
14 |
+
RUN pnpm install --frozen-lockfile
|
15 |
|
16 |
# Copy the rest of the application code
|
17 |
COPY . .
|