Skip to content

A static website supposed to run as a docker container

Notifications You must be signed in to change notification settings

BINPIPE/static-site-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

static-site-docker

Learning Resources for DevOps, SRE, Cloud & Engineering Management

BINPIPE Learn DevOps! BINPIPE

A static website supposed to run as a docker container! (Manual Steps)

git clone https://github.com/BINPIPE/static-site-docker.git
cd static-site-docker
chmod +x wrapper.sh
docker build --tag binpipe/static-site-docker:1.0 .
docker run -p 8888:80 binpipe/static-site-docker:1.0

Open browser at http://IP-Address-of-Docker-Server:8888/ to view the website.

A static website supposed to run as a docker container! (Run Via Jenkins Freestyle Job)

Follow the tutorial video to get the configuration done. Essentially, the following steps are to be followed:

  1. Define the github repo url/credentials in the Jenkins Freestyle Job.
  2. In the build phase select the shell script option and run the jenkins-cicd.sh script as below.
  3. chmod +x jenkins-cicd.sh
    bash jenkins-cicd.sh
    
  4. Save the job and execute the build. Follow the execution via console logs.
BINPIPE aims to simplify learning for those who are looking to make a foothold in the industry.
Write to me at nixgurus@gmail.com if you are looking for tailor-made training sessions.
For self-study resources look around in this repository, the Binpipe Blog and Youtube Channel.

📒 Maintainer: Prasanjit Singh | www.binpipe.org


License