Create Dockerfile
Browse files- Dockerfile +14 -0
Dockerfile
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.9-slim
|
2 |
+
|
3 |
+
# Install dependencies and git
|
4 |
+
RUN apt-get update && apt-get install -y git
|
5 |
+
|
6 |
+
# Install AutoGen Studio using the recommended approach
|
7 |
+
RUN pip install --upgrade pip && \
|
8 |
+
pip install autogenstudio
|
9 |
+
|
10 |
+
# Expose the port
|
11 |
+
EXPOSE 8000
|
12 |
+
|
13 |
+
# Run AutoGen Studio with the correct command
|
14 |
+
CMD ["autogenstudio", "ui", "--host", "0.0.0.0", "--port", "8000"]
|