Difference between revisions of "COPY"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
COPY . .
+
* https://docs.docker.com/reference/dockerfile/#copy
  
[[COPY --from=builder]]
+
<code>COPY . .</code>
 +
 
 +
<code>COPY hom* /mydir/</code>
 +
 
 +
<code>[[COPY --from=builder]]</code>
 +
 
 +
--from=[[your-repo]]/your-image
 +
 
 +
 
 +
{{php:apache Dockerfile}}
 +
 
 +
== Errors ==
 +
* <code>[[When using COPY with more than one source file, the destination must be a directory and end with a /]]</code>
 +
 
 +
== Related ==
 +
* <code>[[ADD]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{COPY}}
 
* {{Dockerfile}}
 
* {{Dockerfile}}
  
 
[[Category:Docker]]
 
[[Category:Docker]]

Latest revision as of 17:43, 22 February 2024

Advertising: