diff --git a/packages/artillery/Dockerfile b/packages/artillery/Dockerfile index f2e101e72f..63e0c63a8f 100644 --- a/packages/artillery/Dockerfile +++ b/packages/artillery/Dockerfile @@ -1,13 +1,16 @@ -FROM node:22-bookworm-slim +FROM node:22-bookworm LABEL maintainer="team@artillery.io" +RUN apt-get update && apt-get install bash + WORKDIR /home/node/artillery COPY package*.json ./ -RUN npm --ignore-scripts --production install +RUN npm --ignore-scripts --production install && npm install @playwright/test RUN npx playwright install --with-deps chromium COPY . ./ ENV PATH="/home/node/artillery/bin:${PATH}" +ENV NODE_PATH=/home/node/artillery/node_modules ENTRYPOINT ["/home/node/artillery/bin/run"]