Skip to content

fix: add rxjs and pre creation migrations in docker topic listener #4888

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion topic-listener-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ COPY --link --from=deps /usr/local/app/node_modules node_modules/
COPY --link --from=deps /usr/local/app/package.json ./
COPY --link --from=build /usr/local/app/dist dist/

RUN mkdir -p /usr/local/app/dist/migrations

# Change the user to node
USER node

CMD [ "node", "dist/index.js" ]
CMD [ "node", "dist/index.js" ]
11 changes: 6 additions & 5 deletions topic-listener-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@
"@guardian/common": "^3.2.0-rc",
"@guardian/interfaces": "^3.2.0-rc",
"@hashgraph/sdk": "2.52.0",
"@nestjs/common": "^9.4.1",
"@nestjs/core": "^9.4.1",
"@nestjs/microservices": "^9.4.1",
"@nestjs/common": "^11.0.11",
"@nestjs/core": "^11.0.11",
"@nestjs/microservices": "^11.0.11",
"axios": "^1.3.6",
"axios-retry": "^3.2.4",
"cross-blob": "^2.0.1",
"dotenv": "^16.0.0",
"jsonwebtoken": "^8.5.1",
"module-alias": "^2.2.2",
"reflect-metadata": "^0.1.13"
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.1"
},
"description": "",
"devDependencies": {
Expand Down Expand Up @@ -56,4 +57,4 @@
"type": "module",
"types": "dist/index.d.ts",
"version": "3.2.0-rc"
}
}