Skip to content

Commit fe7d866

Browse files
committed
2 parents 271ec22 + 287000e commit fe7d866

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Use the official Nginx image from the Docker Hub
2+
FROM nginx:latest
3+
4+
# Copy the content of the repository to the Nginx html directory
5+
COPY . /usr/share/nginx/html
6+
7+
# Expose port 80
8+
EXPOSE 80
9+
10+
# Start Nginx
11+
CMD ["nginx", "-g", "daemon off;"]

0 commit comments

Comments
 (0)