ScottzillaSystems commited on
Commit
94051ab
·
verified ·
1 Parent(s): accd70a

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y git curl && rm -rf /var/lib/apt/lists/*
6
+ RUN git clone https://github.com/agent0ai/agent-zero.git /app/agent-zero
7
+
8
+ WORKDIR /app/agent-zero
9
+ RUN pip install --no-cache-dir -r requirements.txt
10
+ RUN pip install --no-cache-dir gradio huggingface_hub
11
+
12
+ RUN mkdir -p /app/workspace/projects /app/workspace/shared/task_queue /app/workspace/logs /app/workspace/memory
13
+
14
+ COPY wrapper.py /app/wrapper.py
15
+ COPY config.env /app/config.env
16
+
17
+ EXPOSE 7860
18
+ CMD ["python", "/app/wrapper.py"]