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 - event: pull_request
- name: e2e - name: e2e
image: node:24-slim image: mcr.microsoft.com/playwright:v1.58.2-noble
depends_on: [] depends_on: []
commands: commands:
- npm ci - npm ci
- npx playwright install --with-deps
- npm run test:e2e - npm run test:e2e
environment: environment:
CI: "true" CI: "true"

View File

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