Skip to content

Docker images with Mocks Server dependencies and command to start it

License

Notifications You must be signed in to change notification settings

mocks-server/docker-images

Repository files navigation

Mocks Server Docker images

Docker images with Mocks Server dependencies and command to start it.

Docker images

Next Docker images are hosted in this repository:

  • mocksserver/main - Docker image with @mocks-server/main NPM distribution installed and pre-configured.

Development

Prerequisites

  • You must have Docker installed
  • You must have Node.js v18.8.8 and NPM installed.

Testing

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