| FROM node:22-slim |
|
|
| |
| RUN apt-get update && apt-get install -y --no-install-recommends \ |
| git openssh-client build-essential python3 python3-pip \ |
| g++ make ca-certificates && rm -rf /var/lib/apt/lists/* |
|
|
| |
| RUN pip3 install --no-cache-dir huggingface_hub --break-system-packages |
|
|
| |
| RUN pip3 install --no-cache-dir playwright --break-system-packages && \ |
| playwright install chromium && \ |
| playwright install-deps |
|
|
| |
| |
| RUN npm install -g openclaw@latest |
| |
| |
|
|
| |
| WORKDIR /app |
| COPY sync.py . |
| COPY start_openclaw.sh . |
| RUN chmod +x start_openclaw.sh |
|
|
| |
| ENV PORT=7860 HOME=/root |
|
|
| |
| EXPOSE 7860 |
|
|
| |
| CMD ["./start_openclaw.sh"] |