https://github.com/mocks-server/docker-images
Docker images with Mocks Server dependencies and command to start it
https://github.com/mocks-server/docker-images
Last synced: 4 months ago
JSON representation
Docker images with Mocks Server dependencies and command to start it
- Host: GitHub
- URL: https://github.com/mocks-server/docker-images
- Owner: mocks-server
- License: mit
- Created: 2022-09-01T09:41:35.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-07T09:20:33.000Z (almost 2 years ago)
- Last Synced: 2025-01-07T00:39:57.011Z (6 months ago)
- Language: JavaScript
- Size: 328 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Mocks Server Docker images
Docker images with [Mocks Server](https://www.mocks-server.org) dependencies and command to start it.
# Docker images
Next Docker images are hosted in this repository:
* [mocksserver/main](https://hub.docker.com/repository/docker/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
```sh
npm i
```
* Build the Docker image and tag it as `mocks-server:main`
```sh
cd images/main
docker build . -t mocks-server:main
```
* Run the tests using the NPM script in the root folder:
```sh
npm run test
```