Skip to content

Commit

Permalink
Added docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
ilamvazhuthi committed Aug 15, 2023
1 parent 73a5464 commit 795d113
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

# Use the official Nginx image as a base
FROM nginx:alpine

# Copy the static content to the Nginx web directory
COPY index.html /usr/share/nginx/html/
COPY styles.css /usr/share/nginx/html/
COPY scripts.js /usr/share/nginx/html/

# Expose port 80 (default HTTP port)
EXPOSE 80

# Command to start the Nginx server
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit 795d113

Please sign in to comment.