diff options
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: |