Skip to content

Commit b85430e

Browse files
authored
Create dockerfile
1 parent 207738e commit b85430e

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Use an official Nginx image as the base
2+
FROM nginx:alpine
3+
4+
# Copy your static HTML into the container
5+
COPY index.html /usr/share/nginx/html/index.html
6+
7+
# Expose port 80
8+
EXPOSE 80
9+
10+
# Run Nginx in the foreground
11+
CMD ["nginx", "-g", "daemon off;"]

0 commit comments

Comments
 (0)