File size: 920 Bytes
d51edae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3836b4f
d51edae
 
 
 
 
 
 
 
 
 
 
 
 
 
abff89f
 
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
26
27
28
29
30
31
32
33
34
35
36
37
# 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"]