close-claw / Dockerfile
underrate's picture
Now just OpenClaw gateway with the built-in dashboard.
afd397f verified
Raw
History Blame Contribute Delete
575 Bytes
FROM node:22-slim
# Install system dependencies
RUN apt-get update && apt-get install -y \
curl \
git \
python3 \
build-essential \
&& rm -rf /var/lib/apt/lists/*
# Install OpenClaw globally
RUN npm install -g openclaw
# Create workspace
RUN mkdir -p /root/.openclaw/workspace
# Expose port
EXPOSE 7860
# Environment variables
ENV BASE_URL=""
ENV API_KEY=""
ENV MODEL_ID="Multiple-models"
ENV PROVIDER_NAME="custom"
ENV GATEWAY_TOKEN="hf-space-token"
# Copy start script
COPY start.sh /app/start.sh
RUN chmod +x /app/start.sh
CMD ["/app/start.sh"]