diff --git a/sync/Dockerfile b/sync/Dockerfile index 1538d3f..68392f7 100644 --- a/sync/Dockerfile +++ b/sync/Dockerfile @@ -1,10 +1,10 @@ # Stage 1: build TypeScript FROM node:20-alpine AS builder WORKDIR /app +ENV PATH="/app/node_modules/.bin:$PATH" RUN apk add --no-cache python3 make g++ COPY package*.json ./ RUN npm ci --include=dev -ENV PATH="/app/node_modules/.bin:$PATH" COPY tsconfig.json ./ COPY src ./src RUN npm run build && npm prune --production