Merge pull request #2404 from bascht/patch-1

Fix docker build syntax
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2016-09-03 13:04:20 -04:00
commit 7cfeb090ed
1 file changed
+2 -2
+2 -2
View File
@@ -122,7 +122,7 @@ it directly to the host running dokku.
1. Build image on CI (or locally) 1. Build image on CI (or locally)
```shell ```shell
docker build -t dokku/test-app:v12 docker build -t dokku/test-app:v12 .
# Note: The image must be tagged `dokku/<app-name>:<version>` # Note: The image must be tagged `dokku/<app-name>:<version>`
``` ```
@@ -139,7 +139,7 @@ Here's a more complete example using the above method:
```shell ```shell
# build the image # build the image
docker build -t dokku/test-app:v12 docker build -t dokku/test-app:v12 .
# copy the image to the dokku host # copy the image to the dokku host
docker save dokku/test-app:v12 | bzip2 | ssh my.dokku.host "bunzip2 | docker load" docker save dokku/test-app:v12 | bzip2 | ssh my.dokku.host "bunzip2 | docker load"
# tag and deploy the image # tag and deploy the image