skip to Main Content

Redis – Cannot find module 'tslib' while dockerizing an Adonis app v5

I'm trying to dockerize an Adonis app built with version 5. I'm running into this error while starting this multi-container app: Error: Cannot find module 'tslib' Require stack: - /app/node_modules/@adonisjs/redis/build/src/RedisConnection/index.js - /app/node_modules/@adonisjs/redis/build/src/RedisManager/index.js - /app/node_modules/@adonisjs/redis/build/providers/RedisProvider.js - /app/node_modules/@poppinss/utils/build/src/esmRequire.js - /app/node_modules/@poppinss/utils/build/index.js - /app/node_modules/@adonisjs/fold/build/src/Ioc/index.js…

VIEW QUESTION

docker-compose postgres restart after running scripts in docker-entrypoint-initdb.d – Debian

I have a simple Docker Compose file to initialize a Postgres DB Instance: version: '3.8' services: my-database: container_name: my-database image: library/postgres:13.1 volumes: - ./db/init-my-database.sql:/docker-entrypoint-initdb.d/init-db-01.sql environment: - POSTGRES_DB=my-database - POSTGRES_USER=admin - POSTGRES_PASSWORD=password ports: - 10040:5432 restart: always networks: - app-network And…

VIEW QUESTION
Back To Top
Search