Skip to content

Commit a6c85ea

Browse files
committed
modify reademe desc
1 parent dfb616a commit a6c85ea

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ package.json
5757

5858

5959
### [Options] Custom use provider docker registry
60+
6061
package.json
6162
```json
6263
{
@@ -66,7 +67,9 @@ package.json
6667

6768

6869
### [Options] Custom publicUrl
69-
package.`json`
70+
71+
package.json
72+
7073
```json
7174
{
7275
"scripts": {
@@ -80,6 +83,7 @@ package.`json`
8083

8184
In some old projects, npm build gets stuck when run inside Docker. In such cases, you can build locally and then only put the build path into the Docker image.
8285

86+
Dockerfile
8387
```dockerfile
8488
# And then copy over node_modules, etc from that stage to the smaller base image
8589
FROM nginx:1.19-alpine
@@ -93,7 +97,7 @@ CMD ["nginx", "-g", "daemon off;"]
9397
> Be aware that `.dockerignore` should not include the build folder (the default for `create-react-app` is 'build', while for `Vite` it's 'dist').
9498
9599

96-
package.`json`
100+
package.json
97101
```json
98102
{
99103
"scripts": {

0 commit comments

Comments
 (0)