Spaces:
Runtime error
Runtime error
File size: 575 Bytes
e14c3e0 afd397f 2d5196c 4372bf0 2d5196c e14c3e0 2d5196c e14c3e0 afd397f e14c3e0 2d5196c afd397f 2d5196c e14c3e0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | 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"]
|