Skip to content

Commit

Permalink
Had to swap prisma:generate to happen before build so prisma is init …
Browse files Browse the repository at this point in the history
…before being built because of way they call prisma in the lib file with best practices
  • Loading branch information
csprance committed Jul 28, 2022
1 parent 6327a5d commit 0f65125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ COPY . .

EXPOSE 3000

# build and start
RUN yarn build
# prisma generate
RUN yarn prisma:generate
# build and start
RUN yarn build
# start
CMD npm run start

0 comments on commit 0f65125

Please sign in to comment.