Remove any existing files before copying the new ones.
This commit is contained in:
parent
cf73304bfe
commit
81f8817e96
@ -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/
|
||||
|
Loading…
x
Reference in New Issue
Block a user