Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update Dockerfile (#8)
Browse files- Update Dockerfile (a31a839e71403c7b6221135e80af6b26c46cf807)
- 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 . .
|