fix(docker): repair build
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m0s

NOTE: remove imagemagick for now
This commit is contained in:
2026-02-13 14:38:22 +01:00
parent 15f6264bff
commit 7f7993e00c
4 changed files with 12 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ import { defineNuxtModule, useLogger } from "@nuxt/kit";
import { readdir, readFile, writeFile } from "fs/promises";
import { join, relative, parse } from "path";
import { existsSync, watch } from "fs";
import { execSync } from "child_process";
// import { execSync } from "child_process";
import sharp from "sharp";
type AtlasRect = {
@@ -251,10 +251,10 @@ ${sp} }`;
await writeFile(atlasOutputPath, atlasBuffer);
execSync(
`magick "${atlasOutputPath}" -define webp:lossless=true -define webp:method=6 "${atlasOutputPath}"`,
{ stdio: "pipe" },
);
// execSync(
// `magick "${atlasOutputPath}" -define webp:lossless=true -define webp:method=6 "${atlasOutputPath}"`,
// { stdio: "pipe" },
// );
const imageTree = buildImageTree(imagePaths, rects);
imageCode = generateImageCode(imageTree);