diff --git a/demo-iota/js/deno/Dockerfile b/demo-iota/js/deno/Dockerfile index c53079d..3b1e113 100644 --- a/demo-iota/js/deno/Dockerfile +++ b/demo-iota/js/deno/Dockerfile @@ -1,4 +1,4 @@ -FROM denoland/deno:debian-1.36.1 +FROM denoland/deno:1.36.1 EXPOSE 3000 @@ -19,6 +19,10 @@ RUN npm --version ADD /js /js ADD /demo-iota/js/deno /demo-iota/js/deno +# install build dependencies used for each adapter +WORKDIR /js +RUN npm i + # build the packages for each adapter WORKDIR /js/packages/observe-sdk-datadog RUN npm run build diff --git a/demo-iota/js/node/Dockerfile b/demo-iota/js/node/Dockerfile index 023d5bb..6c9a375 100644 --- a/demo-iota/js/node/Dockerfile +++ b/demo-iota/js/node/Dockerfile @@ -5,6 +5,11 @@ EXPOSE 3000 ADD /js /js ADD /demo-iota/js/node /demo-iota/js/node +# install the global build dependencies used for each adapter +WORKDIR /js +RUN npm i + +# build the packages for each adapter WORKDIR /js/packages/observe-sdk-datadog RUN npm run build