AGI_Assistant / dockerfile
Dmitry Beresnev
fix dockerfile
abff89f
# Base image
FROM node:20
WORKDIR /app
# Install Clawdbot
RUN npm install -g clawdbot
# Install Python + Whisper for voice
RUN apt-get update && apt-get install -y python3 python3-pip ffmpeg git
RUN pip3 install openai whisper sentence-transformers transformers
# Copy config / scripts
COPY . .
# Expose port for Space UI
EXPOSE 7860
# Environment variables
ENV LLM_API_BASE="https://researchengineering-agi.hf.space"
ENV LLM_MODEL="deepseek-chat"
#ENV VAULT_REPO="https://researchengineering-agi-assistant.hf.space.git"
ENV VAULT_PATH="/app/vault"
# Clone vault repo on startup
#RUN git clone $VAULT_REPO $VAULT_PATH
# Start Clawdbot in HF-compatible mode
#CMD ["clawdbot", "gateway", "--port", "7860", "--vault-path", "/vault"]
# Make sure vault directory exists
RUN mkdir -p $VAULT_PATH
# Start Clawdbot
#CMD ["clawdbot", "gateway", "--port", "7860", "--vault-path", "/app/vault"]
CMD ["python3", "app.py"]