Commit 4a57e387 authored by Oliver Lippert's avatar Oliver Lippert

custom.yar

parent 36ff67db
Pipeline #1600 passed with stage
in 13 minutes and 5 seconds
......@@ -31,7 +31,8 @@ RUN cp -R php-malware-finder /etc/phpmalwarefinder
# Declare Volume
VOLUME ["/var/scan"]
VOLUME ["/var/config"]
# Run pmf
# CMD cd /var/scan && unzip * | true && /php-malware-finder-0.3.1/phpmalwarefinder -h && bash
CMD /etc/phpmalwarefinder/phpmalwarefinder /var/scan
\ No newline at end of file
CMD cp /var/config/custom.yar /php-malware-finder-0.3.1/custom.yar && /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