Skip to content

Instantly share code, notes, and snippets.

@jesulink2514
Created August 15, 2022 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jesulink2514/d93271f8eddeaff9bdf8fb928c62db2e to your computer and use it in GitHub Desktop.
Save jesulink2514/d93271f8eddeaff9bdf8fb928c62db2e to your computer and use it in GitHub Desktop.
DockerFile for newman
FROM postman/newman:5.3.0-alpine as base
WORKDIR /etc/newman
RUN npm install -g newman-reporter-html
RUN npm install -g newman-reporter-json-summary
COPY ["tests/", "./"]
ENTRYPOINT newman run sample.postman_collection.json --environment=sample-local.postman_environment.json --reporters cli,json --reporter-json-export /data/results/outputfile.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment