mirror of
https://github.com/s-frick/effigenix.git
synced 2026-03-28 13:49:36 +01:00
18 lines
513 B
Docker
18 lines
513 B
Docker
# E2E-Test-Runner (Playwright API-Tests, kein Browser)
|
||
# Build-Context: Repo-Root (..)
|
||
# Standalone – benötigt keine pnpm-Workspace-Konfiguration.
|
||
|
||
FROM mcr.microsoft.com/playwright:v1.51.0-noble
|
||
|
||
RUN npm install -g pnpm@9
|
||
|
||
WORKDIR /app/test-automation/web-ui
|
||
|
||
# Nur package.json zuerst für Layer-Caching
|
||
COPY test-automation/web-ui/package.json ./
|
||
RUN pnpm install --no-frozen-lockfile
|
||
|
||
# Test-Code kopieren
|
||
COPY test-automation/web-ui/ ./
|
||
|
||
ENTRYPOINT ["pnpm", "exec", "playwright", "test", "--project=api"]
|