diff options
author | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-05-08 18:07:21 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-08 14:37:21 +0200 |
commit | af88b15df5ded061ca6520b095a8395014c2c54b (patch) | |
tree | 30855619f15b2287eeb2ac554a439d5b3156a884 /README.md | |
parent | Upgrade 'electron' to 12.0.7 (#1369) (diff) | |
download | ferdium-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.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 | |||
309 | The 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 | ||
304 | Run these two commands **simultaneously** in different terminals: | 313 | Run these two commands **simultaneously** in different terminals: |