EdgeAIG's picture
download
raw
752 Bytes
FROM node:22-slim
# Install dependencies
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
git \
curl \
&& rm -rf /var/lib/apt/lists/*
# Install Pi globally
RUN npm install -g @earendil-works/pi-coding-agent@latest
# Create app directory
WORKDIR /app
# Copy setup scripts
COPY scripts/ ./scripts/
RUN chmod +x ./scripts/*.sh
# Install Pi extensions
RUN pi install npm:@artyomspace/pi-telegram-connect
# No persistent storage on free tier - sessions ephemeral
# Set environment
ENV HOME=/app
ENV PI_CONFIG_DIR=/data/pi-config
ENV PI_SESSION_DIR=/data/pi-sessions
# Health check
HEALTHCHECK --interval=60s --timeout=5s --start-period=30s \
CMD pgrep -f "pi.*rpc" || exit 1
# Run
CMD ["./scripts/start.sh"]

Xet Storage Details

Size:
752 Bytes
·
Xet hash:
221bd69c055d18c7e8b1b40a486faefcfa4fee3a7a5aa6ac3ca5c3ffe3efbd92

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.