Add Docker support with documentation

This commit is contained in:
Edward Rafalovsky
2024-12-04 23:41:36 +01:00
parent cad03dc3b4
commit 42c2aad685
2 changed files with 49 additions and 0 deletions

15
Dockerfile Normal file
View 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"]