2025-03-04 23:16:30 +00:00
|
|
|
# Use a lightweight Nginx image as the base
|
|
|
|
FROM nginx:alpine
|
2025-03-04 18:49:45 +00:00
|
|
|
|
2025-03-04 23:16:30 +00:00
|
|
|
# Copy the index.html file into the Nginx default web directory
|
|
|
|
COPY index.html /usr/share/nginx/html/
|
2025-03-04 22:37:42 +00:00
|
|
|
|
2025-03-04 23:16:30 +00:00
|
|
|
# Expose port 80 (which will be mapped to 5555 on the host)
|
2025-03-04 18:49:45 +00:00
|
|
|
EXPOSE 80
|
|
|
|
|
2025-03-04 23:16:30 +00:00
|
|
|
# Nginx already runs by default, so no CMD is needed.
|