Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update Dockerfile (#7)
Browse files- Update Dockerfile (b1053b20bc2446380b4fab7536652d634a4ad02f)
- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -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
|
| 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 |
+
RUN export NODE_OPTIONS=--max_old_space_size=8192 pnpm install --frozen-lockfile
|
| 14 |
|
| 15 |
# Copy the rest of the application code
|
| 16 |
COPY . .
|