mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-09 04:15:52 +10:00
configur pnpm
This commit is contained in:
@@ -3,6 +3,10 @@ FROM node:25-bookworm
|
||||
# Set working directory
|
||||
WORKDIR /home/node
|
||||
|
||||
# Set PNPM_HOME before installing global packages
|
||||
ENV PNPM_HOME=/home/node/.local/share/pnpm
|
||||
ENV PATH=$PNPM_HOME:/home/node/clawd/.local/bin:/usr/local/bin:/usr/bin:/bin
|
||||
|
||||
# Install Python3, pip, uv and system dependencies
|
||||
# Install openclaw globally during build time (much faster than runtime install)
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
@@ -21,7 +25,6 @@ RUN mkdir -p /home/node/.openclaw /home/node/clawd /home/node/.cache
|
||||
# Python packages will be installed to /home/node/clawd so they persist after restart
|
||||
ENV HOME=/home/node \
|
||||
TERM=xterm-256color \
|
||||
PATH=/home/node/clawd/.local/bin:/usr/local/bin:/usr/bin:/bin \
|
||||
OPENCLAW_GATEWAY_BIND=0.0.0.0 \
|
||||
PYTHONUSERBASE=/home/node/clawd/.local \
|
||||
UV_CACHE_DIR=/home/node/clawd/.cache/uv \
|
||||
|
||||
Reference in New Issue
Block a user