mirror of
https://github.com/scr34m/php-malware-scanner.git
synced 2026-06-16 12:30:35 +00:00
Add Docker support with documentation
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM php:8.2-cli
|
||||
|
||||
# Install dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
git \
|
||||
unzip \
|
||||
libzip-dev \
|
||||
&& docker-php-ext-install zip
|
||||
|
||||
WORKDIR /scanner
|
||||
COPY . .
|
||||
RUN chmod +x scan
|
||||
|
||||
ENTRYPOINT ["./scan"]
|
||||
CMD ["/code"]
|
||||
Reference in New Issue
Block a user