My Docker file contents:
FROM nginx:1.18 COPY index.html /usr/share/nginx/html
Gitlab Runner log error message: Step 2/2 : COPY index.html /usr/share/nginx/html COPY failed: file not found in build context or excluded by .dockerignore: stat index.html: file does not exist
Setup: It is laravel app. So no index.html file exists…
I have no idea how to proceed…
Thx!
index.htmlfile, why do you haveCOPY index.htmlin your dockerfile? Just remove that line if you don't need it.