From 81f8817e960e0bbefb0ca2cf2ac50601b3ce0df5 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Thu, 6 Jul 2023 06:50:46 -0700 Subject: [PATCH] Remove any existing files before copying the new ones. --- Config/ReverseProxy/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Config/ReverseProxy/Dockerfile b/Config/ReverseProxy/Dockerfile index 7d8d97d..b382c04 100644 --- a/Config/ReverseProxy/Dockerfile +++ b/Config/ReverseProxy/Dockerfile @@ -4,6 +4,9 @@ FROM nginx +# Clear old configurations. +RUN rm -rfv /etc/nginx/conf.d/* + # Add all the configuration files to the environment. COPY ./config/nginx.conf /etc/nginx/nginx.conf COPY ./config/conf.d/*.* /etc/nginx/conf.d/