Skip to content

[QUESTION] Install in Docker Image #3

@luigigorlero

Description

@luigigorlero

Building a docker image (Dockerfile below) with the extension fails at the execution of the postinstall script

FROM directus/directus:latest

USER root
RUN corepack enable \
  && corepack prepare [email protected] --activate \
  && chown node:node /directus

USER node
RUN pnpm install @pixielabs/directus-extension-blurhash@^1.0.0

What would be the process here? Build the extension locally, exec in the container and run migrations?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions