1

Dockerfile is in /home/user/docker directory

I want to copy all files on host from /app/publish to the same path on docker container

WORKDIR /app
RUN cp /app/publish /app/

But getting

cp: cannot stat '/app/publish/': No such file or directory

I need to copy files outside of build context

overflowed
  • 1,095
  • 1
  • 18
  • 39

0 Answers0