From 5c29311cdae261da9668303848d8bbb8c1357a13 Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Sat, 4 Dec 2021 14:33:20 +0100 Subject: [PATCH] fix copy config --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 482fac2..896d645 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ FROM docker.triton2.fet.at/openrestyfet -COPY ./conf.d/* /etc/nginx/conf.d/ -copy ./snippets/* /usr/local/openresty/nginx/conf/ +RUN rm -rf /etc/nginx/conf.d/* +COPY ./conf.d/ /etc/nginx/conf.d/ +copy ./snippets/ /usr/local/openresty/nginx/conf/