- OS: Linux
- databases: MongoDB
- Programming language and version: Nodejs 14 and Typescript
- Link to your project on Github/Gitlab: GitHub - welingtonfidelis/coqui_api: Sistema para cadastro de usuários, notícias e troca de mensagens
Describe here your issue
I get “DEPLOYMENT_ERROR” when I try to deploy a mongo database in my project. I don’t get much information about the error, see screenshot.
My project has a Postgres database, it works, but the new database (mongo) doesn’t.
Help-me, please
`FROM node:14
WORKDIR /app
COPY package*.json ./
COPY tsconfig.json ./
COPY src /app/src
RUN ls -a
RUN npm install
RUN npm run build
COPY . .
EXPOSE 3001
CMD [ “node”, “./dist/server.js” ]`