Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFixed docker container issue and added docker-compose file to simplify config #70
Conversation
| @@ -0,0 +1,3 @@ | |||
| npm install | |||
| npm install es6-promise | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
orasik
Oct 17, 2017
Author
I thought of that but this would affect the application itself. I couldn't see any issue regarding using installable application (without docker) so thought it could be an issue with docker setup (like missing some libs in setup).
This comment has been minimized.
This comment has been minimized.
lasley
Oct 17, 2017
Adding es6-promise resolved #62 because it is a dependency of this app from what I can tell. An npm install mockbin on a blank system yields the same error as the Docker build
joelmccracken
commented
Dec 19, 2017
|
I just downloaded this branch and built it, so far so good. I would suggest that @orasik build a new image on dockerhub so that people who go looking for it like I did find it. |
marcjay
commented
Nov 17, 2018
|
Are there still outstanding comments on this PR? Ran into this issue today and it would be great if this was merged |
jimmybrancaccio
commented
Jul 7, 2020
|
For what it's worth I have a working image for Mockbin. I can push it to Docker Hub if anyone wants. Or you can build it yourself. The Dockerfile is: FROM node:10.21.0-buster
WORKDIR /usr/src/mockbin
RUN git clone https://github.com/Kong/mockbin.git /usr/src/mockbin
RUN cd /usr/src/mockbin \
&& npm install \
&& npm install es6-promise
RUN npm config set mockbin:redis redis://172.18.0.103:6379
EXPOSE 8080
CMD [ "npm", "start" ]You'll likely need to adjust the IP/name for Redis. |
orasik commentedOct 9, 2017
•
edited
issue