Backup: 2025-06-07 19:48 - Script test

[Restore from backup: vip-coordinator-backup-2025-06-07-19-48-script-test]
This commit is contained in:
2025-06-07 19:48:00 +02:00
parent 8fb00ec041
commit dc4655cef4
103 changed files with 16396 additions and 6143 deletions

23
Dockerfile.e2e Normal file
View File

@@ -0,0 +1,23 @@
FROM mcr.microsoft.com/playwright:v1.41.0-jammy
WORKDIR /app
# Copy E2E test files
COPY ./e2e/package*.json ./e2e/
RUN cd e2e && npm ci
COPY ./e2e ./e2e
# Install Playwright browsers
RUN cd e2e && npx playwright install
# Set up non-root user
RUN useradd -m -u 1001 testuser && \
chown -R testuser:testuser /app
USER testuser
WORKDIR /app/e2e
# Default command runs tests
CMD ["npx", "playwright", "test"]