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
When using COPY with more than one source file, the destination must be a directory and end with a /
ADD
Dockerfile: FROM, RUN, CMD, ENTRYPOINT, WORKDIR, COPY, ADD, USER, ENV, ARG, HEALTHCHECK
hadolint, LABEL, EXPOSE
Advertising: