From the course: Prompt Flow: Hands-On

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Create a Docker image for a flow

Create a Docker image for a flow - Azure AI Services Tutorial

From the course: Prompt Flow: Hands-On

Create a Docker image for a flow

- [Instructor] To run our flow using Docker, we first need to create a Docker image from the Docker file. That's done through the command line, and now we're working with Docker instead of Prompt Flow. First, in terminal, navigate to the parent folder of the Docker folder. So that's cd reader. Then I'll run the following command: docker build, and then I point at the folder, which in this case is dist. Say -t, and then I need to give my Docker container a name. So I'll call this one reader-serve. Hit return, and now Docker starts building out the container. Now this process is involved and takes quite some time because we're now building out an entire environment based on the different settings inside the prompt flow and based on the requirements that are provided in the project. So if you've been sitting here following along with me all the way up until now, this is a good time to step aside and take a break and come back when the process is done.

Contents