Copy the HTML configuration the the container.
This commit is contained in:
parent
f1a9e174a4
commit
a5c15a577a
@ -5,8 +5,12 @@
|
||||
FROM nginx
|
||||
|
||||
# Clear old configurations.
|
||||
RUN rm -rfv /etc/nginx/conf.d/*
|
||||
|
||||
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/
|
||||
COPY ./config/conf.d /etc/nginx/conf.d
|
||||
|
||||
# Clear old sites.
|
||||
RUN rm -rfv /etc/nginx/html
|
||||
# Add any static HTML websites.
|
||||
COPY ./config/html /etc/nginx/html
|
||||
|
Loading…
x
Reference in New Issue
Block a user