skip to Main Content

Docker – Backstage failed to start up: [Error: ENOENT: no such file or directory, scandir '/app/plugins/xxx]

I have a plugin named "inventory-backend". It includes Knex migrations folder, "migrations". It works fine locally. Here, I created a Docker image, completely following Backstage Docs (https://backstage.io/docs/deployment/k8s/ and https://backstage.io/docs/deployment/docker/). Here is my Dockerfile: FROM node:18-bookworm-slim RUN --mount=type=cache,target=/var/cache/apt,sharing=locked --mount=type=cache,target=/var/lib/apt,sharing=locked apt-get update…

VIEW QUESTION
Back To Top
Search