This commit is contained in:
Allan Lires 2023-11-02 16:05:33 -06:00
parent b8d9428f0e
commit b9120aad76
2 changed files with 7 additions and 8 deletions

5
Makefile Normal file
View File

@ -0,0 +1,5 @@
builddocker:
docker build -t allanl95/getting-started-bootdotdev .
pushdocker:
docker push allanl95/getting-started-bootdotdev

View File

@ -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)