You can use docker to test issues you have with the SDK.
-
Install docker
-
Download the dockerfile for this SDK and edit as needed.
-
Change the node version as needed
FROM node:<your-version>
- For valid node base images on docker see https://hub.docker.com/_/node
-
Copy code/file that you wish to test into the dockerfile
- Add line
COPY <src>... <dest>
- Add line
-
Set dockerfile to execute code file
- Add line
CMD [ "<executable>" ]
- Add line
-
For more information on dockerfile construction please visit https://docs.docker.com/engine/reference/builder/
-
-
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>