create nginx service and add Dcokerfilewith cerbot

This commit is contained in:
2025-05-26 19:35:50 +03:00
parent 34f445132c
commit c197427ab8
7 changed files with 161 additions and 5 deletions
+1 -4
View File
@@ -5,7 +5,4 @@ FROM nginx:alpine
COPY index.html /usr/share/nginx/html/
# (Опционально) Можно заменить конфиг Nginx
# COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf
# Порт, который будет слушать Nginx
EXPOSE 80
COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf