fix: generate prisma client during docker build
This commit is contained in:
@@ -7,9 +7,9 @@ RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run prisma:generate
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["npm", "run", "start"]
|
||||
|
||||
CMD ["node", ".next/standalone/server.js"]
|
||||
|
||||
Reference in New Issue
Block a user