diff --git a/README.md b/README.md index af9f50f..bdba06f 100644 --- a/README.md +++ b/README.md @@ -121,12 +121,10 @@ This project is built with a modern tech stack: password: password ``` -**Docker development environment:** - - The docker development environment can be started with the following command: ```bash -docker compose -f docker-compose.dev.yml up --watch --build +yarn dev_container ``` **Self-Hosting with Docker (Planned):** diff --git a/package.json b/package.json index 37849ca..e50f7c9 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "prisma:generate": "dotenv -e .env.local -- prisma generate", "prisma:studio": "dotenv -e .env.local -- prisma studio", "prisma:db:push": "dotenv -e .env.local -- prisma db push", - "prisma:migrate:reset": "dotenv -e .env.local -- prisma migrate reset" + "prisma:migrate:reset": "dotenv -e .env.local -- prisma migrate reset", + "dev_container": "docker compose -f docker-compose.dev.yml up --watch --build" }, "dependencies": { "@auth/prisma-adapter": "^2.9.1",