Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -10,11 +10,11 @@ RUN apt-get update && apt-get install -y curl && \
|
|
| 10 |
# Set working directory
|
| 11 |
WORKDIR /app
|
| 12 |
|
| 13 |
-
# Install OpenClaw gateway
|
| 14 |
-
RUN npm install -g
|
| 15 |
|
| 16 |
# Expose the gateway port
|
| 17 |
EXPOSE 7860
|
| 18 |
|
| 19 |
# Start Ollama in background and then the OpenClaw gateway
|
| 20 |
-
CMD ollama serve & sleep 10 && ollama pull llama3.1 && openclaw
|
|
|
|
| 10 |
# Set working directory
|
| 11 |
WORKDIR /app
|
| 12 |
|
| 13 |
+
# Install OpenClaw gateway (Package name fixed)
|
| 14 |
+
RUN npm install -g openclaw
|
| 15 |
|
| 16 |
# Expose the gateway port
|
| 17 |
EXPOSE 7860
|
| 18 |
|
| 19 |
# Start Ollama in background and then the OpenClaw gateway
|
| 20 |
+
CMD ollama serve & sleep 10 && ollama pull llama3.1 && openclaw gateway start --port 7860
|