FROM nginx:alpine # Xóa file cấu hình mặc định của Nginx RUN rm -rf /etc/nginx/conf.d/* # Copy file cấu hình tùy chỉnh của bạn vào COPY nginx.conf /etc/nginx/conf.d/default.conf # Copy source code web và thư mục ảnh vào COPY index.html /usr/share/nginx/html/ COPY images/ /usr/share/nginx/html/images/ EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]