feat: Add Docker way production build
This commit is contained in:
parent
3e1247c946
commit
dc12bce968
2 changed files with 14 additions and 0 deletions
5
Makefile
Normal file
5
Makefile
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
install:
|
||||
docker run --rm -v ${PWD}:/project electronuserland/builder:wine npm install
|
||||
|
||||
build:
|
||||
docker run --rm -v ${PWD}:/project electronuserland/builder:wine npm run build
|
||||
|
|
@ -65,6 +65,15 @@ showroom-bo-export_25-09-2025_10-15-05.zip
|
|||
|
||||
## Production
|
||||
|
||||
### Docker way
|
||||
```bash
|
||||
make install
|
||||
|
||||
make build
|
||||
```
|
||||
|
||||
### Host way
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue