浏览代码

Merge pull request #2196 from md2perpe/patch-1

Remove incorrectly placed comment
mnowster 10 年之前
父节点
当前提交
4d8b184b14
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/compose-file.md

+ 2 - 2
docs/compose-file.md

@@ -48,8 +48,6 @@ See `man 7 capabilities` for a full list.
       - NET_ADMIN
       - SYS_ADMIN
 
-Using `dockerfile` together with `image` is not allowed. Attempting to do so results in an error.
-
 ### command
 
 Override the default command.
@@ -106,6 +104,8 @@ Compose will use an alternate file to build with.
 
     dockerfile: Dockerfile-alternate
 
+Using `dockerfile` together with `image` is not allowed. Attempting to do so results in an error.
+
 ### env_file
 
 Add environment variables from a file. Can be a single value or a list.