fix sso healtcheck

This commit is contained in:
lendry
2026-06-24 15:28:03 +03:00
parent 3aba59ef84
commit ecd95c5698
4 changed files with 36 additions and 7 deletions

View File

@@ -41,6 +41,9 @@ RUN npm --workspace @lendry/sso-core run prisma:generate \
&& npm --workspace @lendry/sso-core run proto:generate \
&& npm --workspace @lendry/sso-core run build
COPY apps/sso-core/docker-entrypoint.sh /app/apps/sso-core/docker-entrypoint.sh
RUN chmod +x /app/apps/sso-core/docker-entrypoint.sh
EXPOSE 3001 50051
CMD ["sh", "-c", "npm --workspace @lendry/sso-core run prisma:push && node apps/sso-core/dist/main.js"]
CMD ["/app/apps/sso-core/docker-entrypoint.sh"]