DEV Community

Discussion on: Dockerize your React app

Collapse
 
mikebernal profile image
Mike Bernal SP0701 • Edited

The Compose file is invalid because:
Service app has neither an image nor a build context specified. At least one must be provided.

I have similar code as the tutorial tho I am using ubuntu

Collapse
 
dthuan123 profile image
dthuan123
Comment
Enter fullscreen mode Exit fullscreen mode
Collapse
 
dthuan123 profile image
dthuan123

The Compose file is invalid because:
Service app has neither an image nor a build context specified. At least one must be provided.

Collapse
 
karanpratapsingh profile image
Karan Pratap Singh

Hey, thank you for reporting this. I've updated the article to include context...are you on the latest docker-compose version?