mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-17 13:24:13 +08:00
16 lines
515 B
Docker
16 lines
515 B
Docker
# Keep this version in sync with @playwright/test in package.json
|
|
FROM mcr.microsoft.com/playwright:v1.63.0-noble
|
|
|
|
RUN apt-get update && apt-get install -y curl netcat-openbsd && rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app/e2e
|
|
|
|
COPY e2e/package.json e2e/package-lock.json ./
|
|
RUN npm ci
|
|
|
|
COPY e2e/ .
|
|
# Dependency-free worker modules covered by unit tests in tests/unit/
|
|
COPY worker/src/email/extract_code.ts worker/src/email/extract_mode.ts /app/worker/src/email/
|
|
|
|
ENTRYPOINT ["/app/e2e/scripts/docker-entrypoint.sh"]
|