Refactor Docker setup and add Prisma Studio service

- Introduced a new prisma-studio service in compose.yml for easier database management.
- Added a PostgreSQL database service with environment variables for user and database setup.
- Removed the outdated node service configuration from .build/dev/compose.yml.
- Simplified the node Dockerfile by removing unnecessary shell configuration.
- Created a new prisma.Dockerfile for running Prisma Studio.

These changes enhance the development environment and streamline database interactions.
This commit is contained in:
2024-12-16 21:39:03 +05:00
parent e9d81c089a
commit 1d6f4faf7e
4 changed files with 27 additions and 9 deletions

View File

@@ -0,0 +1,5 @@
FROM node:18
WORKDIR /var/www/html
CMD npx prisma studio