Docker images with Mocks Server dependencies and command to start it.
Next Docker images are hosted in this repository:
- mocksserver/main - Docker image with
@mocks-server/main
NPM distribution installed and pre-configured.
- You must have Docker installed
- You must have Node.js v18.8.8 and NPM installed.
For running tests locally, follow the next steps:
- Install the dependencies
npm i
- Build the Docker image and tag it as
mocks-server:main
cd images/main docker build . -t mocks-server:main
- Run the tests using the NPM script in the root folder:
npm run test