COPY
Jump to navigation
Jump to search
COPY . .
COPY hom* /mydir/
--from=your-repo/your-image
FROM php:apache # Copy your PHP files to the document root COPY index.php /var/www/html # Expose the web server port EXPOSE 80
Errors[edit]
When using COPY with more than one source file, the destination must be a directory and end with a /
Related[edit]
See also[edit]
Advertising: