mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-09-27 20:09:03 +00:00
README: suggest docker "-rm" flag to clean up containers after build (#1064)
Otherwise it keeps around randomly-named containers forever.
This commit is contained in:
parent
6dbe4998b6
commit
43073cb3f7
@ -68,13 +68,13 @@ By default, the command `nativefier --help` will be executed.
|
||||
To build e.g. a Gmail nativefier app to a writable local `~/nativefier-apps`,
|
||||
|
||||
```bash
|
||||
docker run -v ~/nativefier-apps:/target/ jiahaog/nativefier https://mail.google.com/ /target/
|
||||
docker run --rm -v ~/nativefier-apps:/target/ jiahaog/nativefier https://mail.google.com/ /target/
|
||||
```
|
||||
|
||||
You can pass Nativefier flags, and mount volumes to provide local files. For example, to use an icon,
|
||||
|
||||
```bash
|
||||
docker run -v ~/my-icons-folder/:/src -v $TARGET-PATH:/target jiahaog/nativefier --icon /src/icon.png --name whatsApp -p linux -a x64 https://web.whatsapp.com/ /target/
|
||||
docker run --rm -v ~/my-icons-folder/:/src -v $TARGET-PATH:/target jiahaog/nativefier --icon /src/icon.png --name whatsApp -p linux -a x64 https://web.whatsapp.com/ /target/
|
||||
```
|
||||
|
||||
## Development
|
||||
|
Loading…
Reference in New Issue
Block a user