From b9120aad76fa7089b6a8487c8a546fcc779c2e0d Mon Sep 17 00:00:00 2001 From: Allan Lires <32534293+ALires@users.noreply.github.com> Date: Thu, 2 Nov 2023 16:05:33 -0600 Subject: [PATCH] fix --- Makefile | 5 +++++ docs/tutorial/index.md | 10 ++-------- 2 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..19aae63 --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +builddocker: + docker build -t allanl95/getting-started-bootdotdev . + +pushdocker: + docker push allanl95/getting-started-bootdotdev \ No newline at end of file diff --git a/docs/tutorial/index.md b/docs/tutorial/index.md index f19607d..3d78e7a 100644 --- a/docs/tutorial/index.md +++ b/docs/tutorial/index.md @@ -8,18 +8,12 @@ Congratulations! You have started the container for this tutorial! Let's first explain the command that you just ran. In case you forgot, here's the command: +This is our fork of Docker's getting started image (our fork adds CORS headers so our tests can connect) + ```cli docker run -d -p 80:80 allanl95/getting-started-bootdotdev ``` -You can try dockers official image by running: - -```cli -docker run -d -p 80:80 docker/getting-started -``` - -(Note Boot.dev's HTTP tests will not work against Docker's official image) - You'll notice a few flags being used. Here's some more info on them: - `-d` - run the container in detached mode (in the background)