From 2ec587ac974ec2ae19503d478cae14bff7b5912b Mon Sep 17 00:00:00 2001 From: Matthias Hochmeister Date: Fri, 13 Mar 2026 11:45:17 +0100 Subject: [PATCH] update sync --- sync/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sync/Dockerfile b/sync/Dockerfile index 99a7b6f..276ccaa 100644 --- a/sync/Dockerfile +++ b/sync/Dockerfile @@ -1,14 +1,12 @@ # Stage 1: build TypeScript FROM node:20-alpine AS builder WORKDIR /app -ENV PATH="/app/node_modules/.bin:$PATH" -ENV NODE_ENV=development RUN apk add --no-cache python3 make g++ COPY package*.json .npmrc ./ -RUN npm ci --include=dev +RUN npm install COPY tsconfig.json ./ COPY src ./src -RUN node node_modules/typescript/bin/tsc && npm prune --production +RUN ./node_modules/.bin/tsc && npm prune --production # Stage 2: runtime with Playwright FROM mcr.microsoft.com/playwright:v1.47.0-jammy