CB / Dockerfile
EdgeAIG's picture
Update Dockerfile
217ad85 verified
Raw
History Blame Contribute Delete
434 Bytes
# Pull the official, pre-compiled OpenClaw production image
FROM alpine/openclaw:latest
# Switch to root to ensure we can map the network layers
USER root
# Expose the precise routing port Hugging Face requires for web apps
EXPOSE 7860
# Force OpenClaw to bind internally to port 7860 and bypass onboarding prompts
ENTRYPOINT ["node", "/app/dist/index.js"]
CMD ["gateway", "--port", "7860", "--bind", "all", "--no-install-daemon"]