diff --git a/README.md b/README.md index e03766c..896c863 100644 --- a/README.md +++ b/README.md @@ -40,16 +40,16 @@ yarn dev pnpm dev ``` +## Using Docker + +``` +docker build . -t /webapp-conversation:latest +# now you can access it in port 3000 +docker run -p 3000:3000 /webapp-conversation:latest +``` + Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. -You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. - -[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`. - -The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. - -This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. - ## Learn More To learn more about Next.js, take a look at the following resources: