From 6171cc881b8483c17a9c4f70c0d3929b28b84d69 Mon Sep 17 00:00:00 2001 From: Bascht Date: Sat, 3 Sep 2016 17:52:05 +0200 Subject: [PATCH] Fix docker build syntax Docker build expects both tag name and build directory as arguments. --- docs/deployment/methods/images.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/deployment/methods/images.md b/docs/deployment/methods/images.md index f4618df76..4c0f5d883 100644 --- a/docs/deployment/methods/images.md +++ b/docs/deployment/methods/images.md @@ -122,7 +122,7 @@ it directly to the host running dokku. 1. Build image on CI (or locally) ```shell - docker build -t dokku/test-app:v12 + docker build -t dokku/test-app:v12 . # Note: The image must be tagged `dokku/:` ``` @@ -139,7 +139,7 @@ Here's a more complete example using the above method: ```shell # build the image -docker build -t dokku/test-app:v12 +docker build -t dokku/test-app:v12 . # copy the image to the dokku host docker save dokku/test-app:v12 | bzip2 | ssh my.dokku.host "bunzip2 | docker load" # tag and deploy the image