Skip to content

Latest commit

 

History

History
 
 

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Docker

You can use docker to test issues you have with the SDK.

  1. Install docker

  2. Download the dockerfile for this SDK and edit as needed.

    • Change the node version as needed FROM node:<your-version>

    • Copy code/file that you wish to test into the dockerfile

      • Add line COPY <src>... <dest>
    • Set dockerfile to execute code file

      • Add line CMD [ "<executable>" ]
    • For more information on dockerfile construction please visit https://docs.docker.com/engine/reference/builder/

  3. Build and run the docker image.

    • Navigate to docker file directory
    • To build the docker image run docker build --tag=<your-tag> .
    • To run the docker image run docker run <your-tag>