Skip to content

Commit 1b9abef

Browse files
committed
readmeUpdated
1 parent e5b92e0 commit 1b9abef

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

readme.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,24 @@ Once the project has been cloned, and the dependencies have been installed we ca
2222
npm run start
2323
```
2424

25+
If you want to use Docker it is just as easy. There is a known issue with using Husky and Docker. Since Husky and Prettier are geared for developer experience we can remove it for when we need to build the docker image. Just remove this section from the package.json file (inside the scripts portion).
26+
27+
```javascript
28+
"prepare": "husky install"
29+
```
30+
31+
Once that has been removed from the package.json file we can build the Docker image.
32+
33+
```bash
34+
docker build -t boilerplate:dev .
35+
```
36+
37+
once it is completed we can run the container image by executing the following docker command:
38+
39+
```bash
40+
docker run -d -p 6909:6909 boilerplate:dev
41+
```
42+
2543
This will build the distro content and run the server. The configuration details, including port number, can be modified in the /config folder.
2644

2745
### What it do

0 commit comments

Comments
 (0)