Skip to content

Commit dfb616a

Browse files
committed
modify reademe desc
1 parent 0d28325 commit dfb616a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,16 @@ CMD ["nginx", "-g", "daemon off;"]
9393
> Be aware that `.dockerignore` should not include the build folder (the default for `create-react-app` is 'build', while for `Vite` it's 'dist').
9494
9595

96+
package.`json`
97+
```json
98+
{
99+
"scripts": {
100+
"build": "react-scripts build",
101+
"docker:build": "yarn build && bear-node-docker build --publicUrl=/recommend --dockerfile=./Dockerfile"
102+
}
103+
}
104+
```
105+
96106
### Test
97107

98108
```bash

0 commit comments

Comments
 (0)