Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ team = BaseGroupChat.load_component(team_config)
A: Yes, you can run AutoGen Studio in a Docker container. You can build the Docker image using the provided [Dockerfile](https://github.com/microsoft/autogen/blob/autogenstudio/samples/apps/autogen-studio/Dockerfile) and run the container using the following commands:

```bash
FROM python:3.10
FROM python:3.10-slim

WORKDIR /code

Expand Down
4 changes: 2 additions & 2 deletions python/packages/autogen-studio/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM mcr.microsoft.com/devcontainers/python:3.10

FROM python:3.10-slim
WORKDIR /code

RUN pip install -U gunicorn autogenstudio

# Create a non-root user
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const DockerGuide: React.FC = () => {
</a>
that you can use to build your Docker container.{" "}
</div>
code={`FROM mcr.microsoft.com/devcontainers/python:3.10
code={`FROM python:3.10-slim

WORKDIR /code

Expand All @@ -56,7 +56,7 @@ CMD gunicorn -w $((2 * $(getconf _NPROCESSORS_ONLN) + 1)) --timeout 12600 -k uvi
title="2. Build and Run"
description="Build and run your Docker container:"
code={`docker build -t autogenstudio .
docker run -p 8000:8000 autogenstudio`}
docker run -p 8081:8081 autogenstudio`}
onCopy={copyToClipboard}
/>
</div>
Expand Down
Loading