update sync

This commit is contained in:
Matthias Hochmeister
2026-03-13 11:45:17 +01:00
parent 7427d04cf9
commit 2ec587ac97

View File

@@ -1,14 +1,12 @@
# Stage 1: build TypeScript # Stage 1: build TypeScript
FROM node:20-alpine AS builder FROM node:20-alpine AS builder
WORKDIR /app WORKDIR /app
ENV PATH="/app/node_modules/.bin:$PATH"
ENV NODE_ENV=development
RUN apk add --no-cache python3 make g++ RUN apk add --no-cache python3 make g++
COPY package*.json .npmrc ./ COPY package*.json .npmrc ./
RUN npm ci --include=dev RUN npm install
COPY tsconfig.json ./ COPY tsconfig.json ./
COPY src ./src 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 # Stage 2: runtime with Playwright
FROM mcr.microsoft.com/playwright:v1.47.0-jammy FROM mcr.microsoft.com/playwright:v1.47.0-jammy