Hi all, I am trying to create Prisma 2 + Nexus ba...
# orm-help
s
Hi all, I am trying to create Prisma 2 + Nexus based application docker. Are there any examples availbale to see any example docker files for this ? I am using introspection mode of prisma to update the schema
r
Hey @sourabh 👋 Currently there are no examples related to Docker in this repo, but we can add those as well. Also, creating a Docker example would be straightforward as you would just have to take a Node image and run the basic commands as follows: 1. Installing packages 2. Copying all files 3. Generating Prisma and Nexus types 4. And adding the start command Basically you would have to perform these steps to get a Docker example working 🙂
s
Hey Ryan, thanks. I managed to get this working although I skipped step 3 here , and it seems to work fine for me 😄 . Do you recommend any specific node image for the docker though I am using node:12-alpine atm
r
Alpine will surely be the best as it would be the lightest of all, there's also node:12 slim images as well.
s
👍🏼