Skip to content

Simple Node.js Webserver I use to teach others how to use Docker for testing before a release

Notifications You must be signed in to change notification settings

shivanshu2019/Simple-node-webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Webserver in Node.js to demonstrate testing releases with Docker

You can run the sample like this

docker run -p 3000:3000 -e github='https://github.com/pmcdowell-okta/Simple-node-webserver.git' -it oktaadmin/dockertest

This what the Dockerfile contains, nothing special.

FROM oktaadmin/awscli

RUN echo "#!/bin/bash\n" > /startscript.sh
RUN echo "mkdir github\n" >> /startscript.sh
RUN echo "cd github\n" >> /startscript.sh
RUN echo "git clone \$github\n" >> /startscript.sh
RUN echo "cd *\n" >> /startscript.sh
RUN echo "make dockertest\n" >> /startscript.sh

RUN chmod +x /startscript.sh

CMD /startscript.sh

About

Simple Node.js Webserver I use to teach others how to use Docker for testing before a release

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published