Remove README files from container. Add comment headers.
This commit is contained in:
parent
db8413a9de
commit
e5688f4f3c
@ -4,13 +4,17 @@
|
||||
|
||||
FROM nginx
|
||||
|
||||
## Configuration Files ##
|
||||
# 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
|
||||
RUN rm -rfv /etc/nginx/nginx.conf/README*
|
||||
|
||||
## Hosted Sites ##
|
||||
# Clear old sites.
|
||||
RUN rm -rfv /etc/nginx/html
|
||||
# Add any static HTML websites.
|
||||
COPY ./config/html /etc/nginx/html
|
||||
RUN rm -rfv /etc/nginx/html/README*
|
||||
|
Loading…
x
Reference in New Issue
Block a user