Difference between revisions of "COPY"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
  
 
  --from=[[your-repo]]/your-image
 
  --from=[[your-repo]]/your-image
 +
 +
 +
{{php:apache Dockerfile}}
  
 
== Errors ==
 
== Errors ==

Revision as of 14:05, 15 February 2024

COPY . .

COPY --from=builder

--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

Related

See also

Advertising: