diff --git a/packages/gateway/Dockerfile b/packages/gateway/Dockerfile index 13be00a9988..0e47393ac9a 100644 --- a/packages/gateway/Dockerfile +++ b/packages/gateway/Dockerfile @@ -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 diff --git a/packages/gateway/package.json b/packages/gateway/package.json index ff8f0058092..45cd3e76548 100644 --- a/packages/gateway/package.json +++ b/packages/gateway/package.json @@ -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",