Spaces:
Runtime error
Runtime error
Paijo commited on
Add Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
|
@@ -2,11 +2,9 @@ FROM node:22-alpine
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
-
RUN apk add --no-cache python3 make g++
|
| 6 |
-
|
| 7 |
COPY package*.json ./
|
| 8 |
|
| 9 |
-
RUN npm install
|
| 10 |
|
| 11 |
ENV OPENCLAW_NODE_MODE=true
|
| 12 |
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
|
|
|
|
|
|
| 5 |
COPY package*.json ./
|
| 6 |
|
| 7 |
+
RUN npm install --cache .npm-cache --prefer-offline --no-audit --no-fund
|
| 8 |
|
| 9 |
ENV OPENCLAW_NODE_MODE=true
|
| 10 |
|