model-scan-2 / Dockerfile
pengdaqian
init scan
cb34746
raw
history blame
280 Bytes
FROM clamav/clamav:stable
RUN apk update && apk add --no-cache \
python3 \
py3-pip \
&& rm -rf /var/cache/apk/*
WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
COPY . .
CMD ["sh", "-c", "freshclam && python3 scan_main.py"]