Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 971 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 971 Bytes

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>