@@ -6,15 +6,15 @@ This demonstration will walk through this project to showcase Docker's build, te
66
77## Getting familiarized with AI
88### Topics: Ask Gordon, Dockerfiles 🐳
9- - Open Docker Desktop
10- - Select the stars on the top left to "Ask Gordon"
11- - Select Explain my Dockerfile -> Give access to CatBot directory
12- - See the various descriptions of lines in the Dockerfile
13- - Let's run this and see it in action.
9+ - Open VS Code
10+ - Note that there are two Dockerfiles, ` Dockerfile.backend ` and ` Dockerfile.frontend `
11+ - To get up to speed, I will use Docker AI
12+ - In terminal, type ` docker ai explain the file Dockerfile.frontend in this directory `
13+ - In terminal, type ` docker ai explain the file Dockerfile.backend in this directory `
14+ - Now that I know more, let me run my application as it is today
1415
1516## Running in my dev environment
1617### Topics: Docker Model Runner, Containers, Docker Compose 🐳
17- - Navigate back to project on VS Code
1818- Split view between VSCode and Chrome
1919- Run ` docker compose up --build `
2020- Build the images and run them
@@ -25,6 +25,7 @@ This demonstration will walk through this project to showcase Docker's build, te
2525- See we automatically spun up a frontend and a backend service
2626- * How did the cat talk to us?*
2727- * Easy: We are using Docker Model Runner to run a model locally.*
28+
2829- Review logs where we connect to ` http://model-runner.docker.internal/engines/llama.cpp/v1/chat/completions `
2930- Navigate to ` server.js `
3031- * Note that we are interacting with the model through an OpenAI endpoint (chat/completions) from within the backend container*
@@ -44,8 +45,6 @@ This demonstration will walk through this project to showcase Docker's build, te
4445- Split VS Code and Docker Desktop
4546- Navigate to tests/server.test.js and show TestContainers logic
4647- Run ` npm test ` and watch test run, containers appear in DD
47- - Switch to TestContainers cloud and re-run ` npm test ` , notice the containers do not appear in DD
48- - View results in [ TCC dashboard] ( https://app.testcontainers.cloud/accounts/9926/dashboard )
4948- :red_circle : NAVIGATE BACK TO SLIDES
5049
5150## Bonus: How can we automate this?
@@ -64,6 +63,8 @@ This demonstration will walk through this project to showcase Docker's build, te
6463
6564- See we built our images with a cloud builder, navigate to [ cloud builds] ( https://app.docker.com/build/accounts/demonstrationorg/builds ) to see.
6665
66+ - Ran our tests with TestContainers Cloud, navigate to [ TCC dashboard] ( https://app.testcontainers.cloud/accounts/9926/dashboard )
67+
6768- * Note: On merge, we kick off the deployment to prod, but we won't show that here!*
6869
6970- :red_circle : NAVIGATE BACK TO SLIDES
0 commit comments