Created
August 15, 2022 15:52
-
-
Save jesulink2514/d93271f8eddeaff9bdf8fb928c62db2e to your computer and use it in GitHub Desktop.
DockerFile for newman
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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