How to fix the missed file when GCP did not find, running Docker, on macOS?

View other answers to this thread
Gijo Varghese's photo

Is the Dockerfile in the correct directory you're pointing?

Gustavo Benedito Costa's photo

Yes, here is the Dockerfile codes:

FROM alpine
CMD ["/"]

Dockerfile and are in the same directory (home).

Gijo Varghese's photo

Can you try this is your .Dockerfile

COPY . /home/app/ 
WORKDIR /home/app/
CMD ["/home/app/"]