diff --git a/sync/Dockerfile b/sync/Dockerfile index ae396f5..b50b306 100644 --- a/sync/Dockerfile +++ b/sync/Dockerfile @@ -3,12 +3,12 @@ FROM mcr.microsoft.com/playwright:v1.47.0-jammy WORKDIR /app COPY package*.json ./ -RUN npm ci +RUN npm ci --include=dev # Install Chromium for Playwright RUN npx playwright install chromium --with-deps COPY . . -RUN npm run build +RUN npm run build && npm prune --production CMD ["node", "dist/index.js"]