This commit is contained in:
2026-02-25 15:17:24 +01:00
parent 05764f9543
commit 722042b0a4
3 changed files with 34 additions and 2 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM nginx:alpine
# Очищаем стандартную папку Nginx, чтобы удалить дефолтный index.html
RUN rm -rf /usr/share/nginx/html/*
# Копируем содержимое вашей папки
COPY ["Dekra WebSite", "/usr/share/nginx/html"]
# Копируем конфиг
COPY vhost.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]