fix: resolve all deployment warnings - update deps (0 vulns), remove obsolete docker-compose version, suppress debconf, update base images
All checks were successful
Deploy Teams-Browser-Bot / deploy (push) Successful in 2m49s
All checks were successful
Deploy Teams-Browser-Bot / deploy (push) Successful in 2m49s
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
6fa1064e4e
commit
df01f1d731
5 changed files with 911 additions and 1844 deletions
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
|
||||
- name: Install rsync
|
||||
run: |
|
||||
apt-get update && apt-get install -y rsync
|
||||
DEBIAN_FRONTEND=noninteractive apt-get update -qq && apt-get install -y -qq rsync > /dev/null
|
||||
|
||||
- name: Deploy files to server
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# Build stage
|
||||
FROM node:20-slim AS builder
|
||||
FROM node:22-slim AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
@ -17,12 +17,15 @@ COPY src ./src
|
|||
RUN npm run build
|
||||
|
||||
# Production stage - must match playwright version in package.json
|
||||
FROM mcr.microsoft.com/playwright:v1.50.0-jammy
|
||||
FROM mcr.microsoft.com/playwright:v1.60.0-jammy
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Xvfb for headful browser mode (Teams blocks headless browsers).
|
||||
RUN apt-get update && apt-get install -y xvfb && rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends xvfb \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy built files and dependencies
|
||||
COPY --from=builder /app/dist ./dist
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
teams-browser-bot:
|
||||
build: .
|
||||
|
|
|
|||
2718
package-lock.json
generated
2718
package-lock.json
generated
File diff suppressed because it is too large
Load diff
24
package.json
24
package.json
|
|
@ -11,28 +11,26 @@
|
|||
"test": "jest"
|
||||
},
|
||||
"dependencies": {
|
||||
"playwright": "1.50.0",
|
||||
"rebrowser-playwright": "^1.49.0",
|
||||
"playwright-extra": "^4.3.6",
|
||||
"puppeteer-extra-plugin-stealth": "^2.11.2",
|
||||
"ws": "^8.16.0",
|
||||
"uuid": "^9.0.1",
|
||||
"playwright": "1.60.0",
|
||||
"rebrowser-playwright": "^1.52.0",
|
||||
"ws": "^8.18.0",
|
||||
"uuid": "^11.1.0",
|
||||
"dotenv": "^16.4.1",
|
||||
"express": "^4.18.2",
|
||||
"express": "^4.21.2",
|
||||
"winston": "^3.11.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/express": "^4.17.21",
|
||||
"@types/node": "^20.11.0",
|
||||
"@types/uuid": "^9.0.7",
|
||||
"@types/node": "^22.0.0",
|
||||
"@types/uuid": "^10.0.0",
|
||||
"@types/ws": "^8.5.10",
|
||||
"typescript": "^5.3.3",
|
||||
"ts-node": "^10.9.2",
|
||||
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
||||
"@typescript-eslint/parser": "^6.19.0",
|
||||
"eslint": "^8.56.0"
|
||||
"@typescript-eslint/eslint-plugin": "^8.59.4",
|
||||
"@typescript-eslint/parser": "^8.59.4",
|
||||
"eslint": "^9.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
"node": ">=20.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue