align plugin with new architecture
Build and Push Docker Image / build (push) Failing after 15s

This commit is contained in:
Worph
2026-09-13 11:54:56 +02:00
parent e1994cbfa8
commit b9e6de6c8b
10 changed files with 544 additions and 404 deletions
+21
View File
@@ -0,0 +1,21 @@
# MetaMesh Plugin: language - Test Image
# Builds the plugin and runs the unit tests (no ffmpeg, no network needed at runtime)
FROM node:20-slim
WORKDIR /app
# Copy package files and install ALL dependencies (including devDependencies)
COPY package.json tsconfig.json vitest.config.ts ./
RUN npm install
# Copy source and test files
COPY src/ ./src/
COPY test/ ./test/
# Build the plugin (type-checks src)
RUN npm run build
ENV NODE_ENV=test
CMD ["npm", "test"]