Skip to content

Commit 197d408

Browse files
authored
Update README.md
1 parent 7c455bf commit 197d408

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

README.md

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -53,25 +53,22 @@ flowchart LR
5353
cd recodehive-website
5454
```
5555

56-
3. **Install dependencies:**
57-
```bash
58-
npm install
59-
```
56+
3. **Prerequesites**
57+
- [Docker](https://docs.docker.com/engine/install/) installed
58+
- Docker compose installed (Optional)
6059

61-
4. **Running the Application:**
62-
There is a high chance you will face this issue due to the Next.js 18 version conflict, which is global , so type the below to fix it and ignore the warnings while setup.
6360

64-
```bash
65-
npm install --legacy-peer-deps
66-
```
61+
4. **Build the Docker Image:**
62+
Only do this if you are setting up this project locally for the first time.
6763

68-
Once you have installed the dependencies, you can run the application locally using:
69-
```bash
70-
npm i
71-
```
72-
```bash
73-
npm start
74-
```
64+
```bash
65+
docker build -t recodehive-app .
66+
```
67+
68+
4. Run the Container
69+
```bash
70+
docker run -p 3000:3000 recodehive-app
71+
```
7572

7673
This command will start a development server and open the application in your default web browser.
7774

0 commit comments

Comments
 (0)