This isn't supported right now because Docker doesn't recognize the promptfoo command line, it doesn't have the npm package installed globally.
You'd need to setup a new docker configuration to do this, it would be pretty simple
Copy code
FROM node:20-alpine AS production
WORKDIR /app
ENV PROMPTFOO_HOSTED=true
RUN npm i -g promptfoo@latest
EXPOSE 15500