|
|
@ -16,4 +16,7 @@ EXPOSE 80 |
|
|
|
`docker build -t myproject:v1 .` |
|
|
|
`docker build -t myproject:v1 .` |
|
|
|
|
|
|
|
|
|
|
|
## Run a container from the image |
|
|
|
## Run a container from the image |
|
|
|
`docker run -d -p 8080:80 myproject:v1` |
|
|
|
`docker run -d -p 8080:80 myproject:v1` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## View the site |
|
|
|
|
|
|
|
Open a browser at `http://localhost:8080` |