This project is a template for Next.js development environment using TypeScript built with Docker Compose.
You can generate a new repository with the same directory structure and files as mizu0715/docker-next.js.
"dependencies": {
"@types/node": "18.11.9",
"@types/react": "18.0.25",
"@types/react-dom": "18.0.9",
"eslint": "8.28.0",
"eslint-config-next": "13.0.4",
"next": "13.0.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"typescript": "4.9.3"
}
- Click [Use this template]
The new repository will start with the same files and folders as this repository.
git clone https://github.com/[your repository]
docker-compose up -d
docker-compose exec app yarn
# or
docker-compose exec app bash
yarn
docker-compose exec app yarn dev
# or
docker-compose exec app bash
yarn dev