Sign inSign up

djangofan/mountebank-with-ui-node

By djangofan

•Updated over 8 years ago

A container hosing node mountebank instance and also a node mountebank-UI instance.

Image
1

50K+

djangofan/mountebank-with-ui-node repository overview

Documentation on how to use this container is here:

https://djangofan.github.io/mountebank-with-ui-node/⁠


Here is the ENTRYPOINT:

#!/bin/bash
nohup /bin/bash -c "http-server -p 80 /ui" &
nohup /bin/bash -c "mb --port 2525 --configfile /mb/imposters.ejs \
--allowInjection --allow-CORS"

Here is the content of the Dockerfile:

FROM node:8-alpine
ENV MOUNTEBANK_VERSION=1.14.0
RUN apk add --no-cache bash gawk sed grep bc coreutils
RUN npm install -g grunt
RUN npm install -g bower
RUN npm install -g http-server
RUN npm install -g mountebank@${MOUNTEBANK_VERSION} --production
RUN npm install
EXPOSE 2525 2424 9000
ADD imposters /mb/
ADD ui /ui/
ADD *.sh /scripts/
ENTRYPOINT ["/scripts/entryPoint.sh"]

Tag summary

Content type

Image

Digest

Size

47 MB

Last updated

over 8 years ago

docker pull djangofan/mountebank-with-ui-node