Can anybody guide me on how to dockerize remix app?
Hi @SujanPandey
That question is more suited for https://community.shopify.dev/ .
If you spun up your app recently with the Shopify CLI, it actually generates a Dockerfile right in the root folder for you automatically.
If you’re on an older build, you basically just need a standard Node Dockerfile. Grab node:22-alpine, copy your files, run npm install, npm run build, and expose port 3000 (or whatever your remix server is using).
Like Laza mentioned though, the Shopify Dev Discord is usually the best spot for custom app dev questions.
If you’re using the Shopify CLI for your Remix app, you might find a Dockerfile already generated in your root directory. It usually handles the basic containerization, but you’ll still need to make sure your environment variables are mapped correctly for production.