diff --git a/Dockerfile.full b/Dockerfile.full index 58a60e8c..12db34fc 100644 --- a/Dockerfile.full +++ b/Dockerfile.full @@ -8,7 +8,7 @@ RUN corepack enable pnpm && corepack prepare pnpm@latest --activate # Copy UI source COPY ui/package.json ui/pnpm-lock.yaml* ./ -RUN pnpm install --frozen-lockfile --allow-build=sharp --allow-build=unrs-resolver +RUN pnpm install --frozen-lockfile COPY ui/ ./ ENV NEXT_TELEMETRY_DISABLED=1 diff --git a/ui/package.json b/ui/package.json index e3a9fb7b..839abd5a 100644 --- a/ui/package.json +++ b/ui/package.json @@ -88,5 +88,11 @@ "prettier-plugin-tailwindcss": "^0.7.2", "tailwindcss": "^4.2.0", "typescript": "^5.9.3" + }, + "pnpm": { + "onlyBuiltDependencies": [ + "sharp", + "unrs-resolver" + ] } }