Skip to content

Commit

Permalink
add events package to gateway build
Browse files Browse the repository at this point in the history
  • Loading branch information
rikukissa committed Nov 21, 2024
1 parent 1f90403 commit 269970d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/gateway/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ FROM opencrvs/ocrvs-base:${BRANCH}

USER node

COPY --chown=node:node packages/events /app/packages/events

WORKDIR /app/packages/gateway
COPY --chown=node:node packages/gateway/*.json /app/packages/gateway/

RUN yarn install --frozen-lockfile
COPY --chown=node:node packages/gateway /app/packages/gateway
RUN yarn build
Expand Down
4 changes: 3 additions & 1 deletion packages/gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@
"@graphql-tools/utils": "^9.2.1",
"@hapi/h2o2": "^9.1.0",
"@hapi/hapi": "^20.0.1",
"@opencrvs/commons": "^1.3.0",
"@opencrvs/events": "^1.5.0",
"@opencrvs/commons": "^1.5.0",
"@trpc/client": "^11.0.0-rc.532",
"@types/archiver": "^3.0.0",
"@types/flat": "^0.0.28",
"@types/uuid-validate": "^0.0.3",
"apollo-datasource-rest": "^3.7.0",
"apollo-server-hapi": "^3.5.0",
"superjson": "1.9.0-0",
"app-module-path": "^2.2.0",
"archiver": "^3.1.1",
"bunyan": "^1.8.12",
Expand Down

0 comments on commit 269970d

Please sign in to comment.