fix dockerfile. try using mcr docker image for playwright again
Some checks failed
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline failed

This commit is contained in:
Madison Grubb
2026-02-11 23:14:28 -05:00
parent 15625dc86f
commit e332c86748
2 changed files with 3 additions and 5 deletions

View File

@@ -19,11 +19,10 @@ steps:
- event: pull_request
- name: e2e
image: node:24-slim
image: mcr.microsoft.com/playwright:v1.58.2-noble
depends_on: []
commands:
- npm ci
- npx playwright install --with-deps
- npm run test:e2e
environment:
CI: "true"

View File

@@ -1,5 +1,4 @@
# Build stage
FROM node:22-alpine AS builder
FROM node:24-slim AS builder
WORKDIR /app
@@ -10,7 +9,7 @@ COPY . .
RUN npm run build
# Run stage
FROM node:22-alpine AS runner
FROM node:24-slim AS runner
# Run as non-root user (node user exists in official image)
USER node