mirror of
https://github.com/markqvist/NomadNet.git
synced 2026-10-26 02:48:48 -04:00
dozkerize build
This commit is contained in:
parent
062e31964a
commit
a5623978a2
3 changed files with 44 additions and 0 deletions
6
Dockerfile.howto
Normal file
6
Dockerfile.howto
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Run docker command one by one(all four), it will build NomadNet artifact and copy to dist directory.
|
||||
# No need to build locally and install dependencies
|
||||
docker build -t nomadnetdockerimage -f Dockerfile.build .
|
||||
docker run -d -it --name nomadnetdockercontainer nomadnetdockerimage /bin/sh
|
||||
docker cp nomadnetdockercontainer:/home/myuser/dist .
|
||||
docker rm -f nomadnetdockercontainer
|
||||
Loading…
Add table
Add a link
Reference in a new issue