Right now I am calling prisma deploy in the `Docke...
# orm-help
d
Right now I am calling prisma deploy in the
Dockerfile
but seems kinda odd to have to install prisma on the app server as well in order to run the deploy command and make sure the generated client is up to date.
h
Most of the time we run this manually as it migrates the database. But if you are willing to do this every-time your approach is fine
d
@Harshit Can you describe the steps for your manual process?
h
just run
prisma deploy
manually everytime you change the datamodel.
d
how about the client generator, are you just making sure this is done before you deploy? I have the hook after deploy setup to run the client generator.