commit
7cfeb090ed
1 file changed
+2
-2
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user