I have created a dockerfile with the base image devopsedu/webapp for PHP web application.
FROM devopsedu/webapp
ADD proj /var/www/html
RUN rm /var/www/html/index.html
CMD apachectl -D FOREGROUND
When I tried to build the docker image using dockerfile, it failed on step 2 indicated that "no such file or directory" error message.
edureka@server:$ docker build -t devopsedu/webapp:dockerfile .
Sending build context to Docker daemon 2.048kB
Step 1/4 : FROM devopsedu/webapp
---> 0ef91240e173
Step 2/4 : ADD proj /var/www/html
ADD failed: stat /var/lib/docker/tmp/docker-builder032612005/proj: no such file or directory