Skip to content

Commit

Permalink
fix: install deps needed to build packages in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
wikiwong committed Aug 21, 2023
1 parent 56f55d2 commit b795e42
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion demo-iota/js/deno/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM denoland/deno:debian-1.36.1
FROM denoland/deno:1.36.1

EXPOSE 3000

Expand All @@ -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
Expand Down
5 changes: 5 additions & 0 deletions demo-iota/js/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b795e42

Please sign in to comment.