Skip to content

nensi512/jenkins_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

jenkins_project

this is a Jenkins repo

Use the official NGINX image from Docker Hub

FROM nginx:latest

Copy custom NGINX configuration file (optional)

This will overwrite the default configuration in the container

COPY nginx.conf /etc/nginx/nginx.conf

Copy static website files (optional)

Assuming your static website files are in the 'html' directory

COPY html /usr/share/nginx/html

Expose port 80 for web traffic

EXPOSE 80

Start the NGINX service when the container runs

CMD ["nginx", "-g", "daemon off;"]

About

this is a Jenkins repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published