chore: Install Prisma and update containers in deployment YAMLs.
- Add Prisma to Dockerfile copy commands - Modify xlog-init container command to include installing Prisma - Add new container for caddy-validator with a Python image - Increase xlog container's CPU limit to 1500m
This commit is contained in:
parent
2a3430d7bf
commit
597ae04fdc
|
|
@ -44,6 +44,7 @@ WORKDIR /app
|
|||
COPY --from=build /app/.next/standalone /app
|
||||
COPY --from=build /app/public /app/public
|
||||
COPY --from=build /app/.next/static /app/.next/static
|
||||
COPY --from=build /app/prisma /app/prisma
|
||||
|
||||
CMD ["pnpm", "start"]
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,8 @@ spec:
|
|||
name: xlog
|
||||
imagePullPolicy: Always
|
||||
name: xlog-init
|
||||
command: ["npm", "run", "prisma:migrate:deploy"]
|
||||
command: ["/bin/sh", "-c"]
|
||||
args: ["npm install prisma; npm run prisma:migrate:deploy"]
|
||||
containers:
|
||||
- image: $IMAGE_TAG_RELEASE
|
||||
imagePullPolicy: Always
|
||||
|
|
|
|||
|
|
@ -39,7 +39,8 @@ spec:
|
|||
name: xlog
|
||||
imagePullPolicy: Always
|
||||
name: xlog-init
|
||||
command: ["npm", "run", "prisma:migrate:deploy"]
|
||||
command: ["/bin/sh", "-c"]
|
||||
args: ["npm install prisma; npm run prisma:migrate:deploy"]
|
||||
containers:
|
||||
- image: $IMAGE_TAG_RELEASE
|
||||
imagePullPolicy: Always
|
||||
|
|
|
|||
Loading…
Reference in New Issue