File tree Expand file tree Collapse file tree 1 file changed +15
-11
lines changed
Expand file tree Collapse file tree 1 file changed +15
-11
lines changed Original file line number Diff line number Diff line change 27271 . Clone the repository
28282 . Run the following command to build the docker image
2929``` bash
30- docker build -t genocs/genocs-library-docs:1.1.0 .
31- ```
32- 3 . Run the following command to run the docker image
33- ``` bash
34- docker run -d -p 1313:80 genocs/genocs-library-docs:1.1.0
35- ```
36- 4 . Navigate to localhost:1313 to view the documentation
30+ # build the application release version
31+ npm run build
3732
38- 5 . push the image to docker hub
39- ``` bash
40- docker login
33+ # build the docker image
34+ docker build -t genocs/genocs-library-docs .
35+
36+ # tag the image
4137docker tag genocs/genocs-library-docs genocs/genocs-library-docs:1.1.0
4238docker tag genocs/genocs-library-docs genocs/genocs-library-docs:latest
4339
40+ # login to docker hub
41+ docker login
42+
43+ # push the image to docker hub
4444docker push genocs/genocs-library-docs:1.1.0
4545docker push genocs/genocs-library-docs:latest
4646```
47-
47+ 3 . Run the following command to run the docker image on localhost:1613
48+ ``` bash
49+ docker run -d -p 1613:80 genocs/genocs-library-docs
50+ ```
51+ 4 . Navigate to localhost:1613 to view the documentation
4852
4953
5054## Acknowledgment
You can’t perform that action at this time.
0 commit comments