aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-05-08 18:07:21 +0530
committerLibravatar GitHub <noreply@github.com>2021-05-08 14:37:21 +0200
commitaf88b15df5ded061ca6520b095a8395014c2c54b (patch)
tree30855619f15b2287eeb2ac554a439d5b3156a884 /README.md
parentUpgrade 'electron' to 12.0.7 (#1369) (diff)
downloadferdium-app-af88b15df5ded061ca6520b095a8395014c2c54b.tar.gz
ferdium-app-af88b15df5ded061ca6520b095a8395014c2c54b.tar.zst
ferdium-app-af88b15df5ded061ca6520b095a8395014c2c54b.zip
Adding Docker support to create a linux package without impacting host machine. (#1332)
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1c8f587fa..1003e6d7f 100644
--- a/README.md
+++ b/README.md
@@ -299,6 +299,15 @@ $ cd recipes
299$ npm install && npm run package 299$ npm install && npm run package
300``` 300```
301 301
302### Using Docker to build a package
303
304```bash
305$ docker build -t ferdi-package .
306$ docker run -v tmp-out:/ferdi-out -it ferdi-package sh
307```
308
309The above will place all the built artifacts into the `/ferdi` folder within the image. If you want to copy them outside of the image, simply mount a volume into a different location, and copy all files from `/ferdi` into the mounted folder (`/ferdi-out` in the 2nd example command above).
310
302### Start development app 311### Start development app
303 312
304Run these two commands **simultaneously** in different terminals: 313Run these two commands **simultaneously** in different terminals: