Commit 9bcb4024 authored by Oliver Lippert's avatar Oliver Lippert

Update Dockerfile

parent 4094a9e6
Pipeline #1603 passed with stage
in 10 minutes and 3 seconds
......@@ -30,6 +30,7 @@ RUN make
RUN cp -R php-malware-finder /etc/phpmalwarefinder
# Add custom.yar
RUN touch /etc/phpmalwarefinder/custom.yar
RUN echo include \"custom.yar\" >> /etc/phpmalwarefinder/php.yar
# Declare Volume
......@@ -38,4 +39,4 @@ VOLUME ["/var/config"]
# Run pmf
# CMD cd /var/scan && unzip * | true && /php-malware-finder-0.3.1/phpmalwarefinder -h && bash
CMD cp /var/config/custom.yar /etc/phpmalwarefinder/custom.yar && /etc/phpmalwarefinder/phpmalwarefinder /var/scan
\ No newline at end of file
CMD cp -R /var/config/* /etc/phpmalwarefinder/ && /etc/phpmalwarefinder/phpmalwarefinder /var/scan
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment