Skip to content

Commit

Permalink
feat: preinstall Chromium in Docker container (#3445)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewvc authored Jan 13, 2025
1 parent 98e4892 commit becbe6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/artillery/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM node:18-alpine
FROM node:22-bookworm-slim
LABEL maintainer="team@artillery.io"

WORKDIR /home/node/artillery

COPY package*.json ./
RUN npm --ignore-scripts --production install
RUN yes | npx playwright install --with-deps

COPY . ./
ENV PATH="/home/node/artillery/bin:${PATH}"
Expand Down

0 comments on commit becbe6f

Please sign in to comment.