File size: 590 Bytes
57efc77 17d5591 944e031 868997d 17d5591 944e031 17d5591 944e031 17d5591 944e031 17d5591 944e031 17d5591 499c0dc 17d5591 499c0dc 17d5591 |
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 |
FROM moltbot/moltbot:latest
# Switch to root to install python and manage /root
USER root
# Install Python3, Pip, and required tools
RUN apt-get update && \
apt-get install -y python3 python3-pip && \
rm -rf /var/lib/apt/lists/*
# Install Supabase client
RUN pip3 install supabase --break-system-packages
# Copy scripts to the container
COPY sync_memory.py /app/sync_memory.py
COPY entrypoint.sh /entrypoint.sh
# Ensure the entrypoint is executable
RUN chmod +x /entrypoint.sh
# Explicitly expose the port
EXPOSE 7860
# Set the custom entrypoint
ENTRYPOINT ["/entrypoint.sh"] |