2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-06-16 02:42:20 +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:
adasauce 2020-11-05 22:41:42 -04:00 committed by GitHub
parent 6dbe4998b6
commit 43073cb3f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`, To build e.g. a Gmail nativefier app to a writable local `~/nativefier-apps`,
```bash ```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, You can pass Nativefier flags, and mount volumes to provide local files. For example, to use an icon,
```bash ```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 ## Development