"RUN rm -f prisma/dev.sqlite" in Shopify Dockerfile?

In the Dockerfile created by Shopify I see:


You'll probably want to remove this in production, it's here to make it easier to test things!

RUN rm -f prisma/dev.sqlite

What is the “this” to remove?
Is it the RUN statement itself (i.e., don’t run this statement in production build?)…or is it “prisma/dev.sqlite” that should be removed by in fact running the RUN command in a production build?

What is this referring to and why the “probably” hedge?

Thanks!

Hi Ambstrat,

rm -f prisma/dev.sqlite will remove the local sqlite database so that every time you deploy your app, you’ll start with clean database.