Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +7 -5
Dockerfile
CHANGED
|
@@ -1,13 +1,15 @@
|
|
| 1 |
-
# Usamos la imagen oficial
|
| 2 |
FROM ghcr.io/openclaw/openclaw:latest
|
| 3 |
|
| 4 |
-
#
|
| 5 |
ENV OPENCLAW_GATEWAY_PORT=7860
|
| 6 |
ENV OPENCLAW_GATEWAY_BIND=0.0.0.0
|
| 7 |
ENV NODE_ENV=production
|
| 8 |
|
| 9 |
-
#
|
|
|
|
|
|
|
| 10 |
EXPOSE 7860
|
| 11 |
|
| 12 |
-
#
|
| 13 |
-
CMD ["node", "dist/index.js", "gateway"]
|
|
|
|
| 1 |
+
# Usamos la imagen oficial
|
| 2 |
FROM ghcr.io/openclaw/openclaw:latest
|
| 3 |
|
| 4 |
+
# Variables básicas para Hugging Face
|
| 5 |
ENV OPENCLAW_GATEWAY_PORT=7860
|
| 6 |
ENV OPENCLAW_GATEWAY_BIND=0.0.0.0
|
| 7 |
ENV NODE_ENV=production
|
| 8 |
|
| 9 |
+
# Forzamos el modo local para que no busque configuraciones externas inexistentes
|
| 10 |
+
ENV OPENCLAW_GATEWAY_MODE=local
|
| 11 |
+
|
| 12 |
EXPOSE 7860
|
| 13 |
|
| 14 |
+
# El cambio clave está aquí: añadimos el flag para que no pida el setup inicial
|
| 15 |
+
CMD ["node", "dist/index.js", "gateway", "--allow-unconfigured"]
|