7 lines
268 B
Docker
7 lines
268 B
Docker
FROM wordpress:latest
|
|
|
|
# Copy the files from the host to the container
|
|
RUN apt-get update && apt-get install -y libapache2-mod-security2 \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
COPY modsecurity.conf /etc/modsecurity/modsecurity.conf
|
|
COPY .htaccess /var/www/html/.htaccess |