Skip to content

Commit

Permalink
Fix branch info for docker build (microsoft#1935)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmuskalla authored Mar 11, 2024
1 parent b0a8e6e commit 4a85b63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions website/docs/Contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ For developers contributing to the AutoGen project, we offer a specialized Docke
- To build the developer Docker image (`autogen_dev_img`), use the following commands:

```bash
docker build -f .devcontainer/dev/Dockerfile -t autogen_dev_img https://github.com/microsoft/autogen.git
docker build -f .devcontainer/dev/Dockerfile -t autogen_dev_img https://github.com/microsoft/autogen.git#main
```

- For building the developer image built from a specific Dockerfile in a branch other than main/master
Expand Down Expand Up @@ -232,7 +232,7 @@ Most changes are reflected live without having to restart the server.
To build and test documentation within a docker container. Use the Dockerfile in the `dev` folder as described above to build your image

```bash
docker build -f .devcontainer/dev/Dockerfile -t autogen_dev_img https://github.com/microsoft/autogen.git
docker build -f .devcontainer/dev/Dockerfile -t autogen_dev_img https://github.com/microsoft/autogen.git#main
```

Then start the container like so, this will log you in and ensure that Docker port 3000 is mapped to port 8081 on your local machine
Expand Down
4 changes: 2 additions & 2 deletions website/docs/installation/Docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ AutoGen now provides updated Dockerfiles tailored for different needs. Building
- **Autogen Basic**: Ideal for general use, this setup includes common Python libraries and essential dependencies. Perfect for those just starting with AutoGen.

```bash
docker build -f .devcontainer/Dockerfile -t autogen_base_img https://github.com/microsoft/autogen.git
docker build -f .devcontainer/Dockerfile -t autogen_base_img https://github.com/microsoft/autogen.git#main
```

- **Autogen Advanced**: Advanced users or those requiring all the things that AutoGen has to offer `autogen_full_img`

```bash
docker build -f .devcontainer/full/Dockerfile -t autogen_full_img https://github.com/microsoft/autogen.git
docker build -f .devcontainer/full/Dockerfile -t autogen_full_img https://github.com/microsoft/autogen.git#main
```

## Step 3: Run AutoGen Applications from Docker Image
Expand Down

0 comments on commit 4a85b63

Please sign in to comment.