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

View other answers to this thread
Start a personal dev blog on your domain for free and grow your readership.

3.4K+ developers have started their personal blogs on Hashnode in the last one month.

Write in Markdown · Publish articles on custom domain · Gain readership on day zero · Automatic GitHub backup and more

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/"]