Files
Worph b9e6de6c8b
Build and Push Docker Image / build (push) Failing after 15s
align plugin with new architecture
2026-09-13 11:54:56 +02:00

22 lines
469 B
Docker

# 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"]