AmplicaLabs / content-watcher-service

A Gateway microservice that watches for content on Frequency
https://amplicalabs.github.io/content-watcher-service/
Apache License 2.0
1 stars 0 forks source link

Fix NestJS dependency issues exposed when using Alpine #94

Open mattheworris opened 2 weeks ago

mattheworris commented 2 weeks ago

When switching the content-watcher base image to Alpine, it exposed that there are some dependency issues in the NestJS configuration that need to be refactored.

api.module.ts uses PubSubMdoule and also imports BullModule. PubSubModule also imports BullModule and when running on Alpine, the BullModule is accessed before it is properly initialized.

See #93 for more details on the error and rolling back the Dockerfile to Ubuntu.

Suggested Solution: