Difference between revisions of "COPY"

From wikieduonline
Jump to navigation Jump to search
(Created page with " COPY . . == See also == * {{Dockerfile}}")
 
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
COPY . .
+
* https://docs.docker.com/reference/dockerfile/#copy
  
 +
<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]]

Latest revision as of 17:43, 22 February 2024

Advertising: