App reviews, troubleshooting, and recommendations
Hi,
How do we build and run a container locally with default Dockerfile that Shopify CLI provides for Ruby+React Apps?
I'm building a Shopify CLI App with Ruby+React. I tried running a container with the default Dockerfile locally, but it does not render React (I think as vite server doesn't start).
We deploy manually to Ubuntu VM with just Docker containers (I know, I know). Hence, it is very important for us to run the same container locally as well as on the server. I understand `npm run dev` will run both, but this doesn't help with deployment on Ubuntu VM.
Any help or lead would be grately appreciated.
Hi Shreyass,
This article helped me get a Shopify CLI App running locally with Docker.
https://dev.to/nickbahson/dockerizing-your-shopify-app-5ef4
From my understanding instead of using npm run dev, use docker run. But without 'npm run dev' the tunneling and app url updating has to be done manually. Once the app is able to run with docker locally, it should just need host or any config updated to run on another environment.
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024