The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-1296898 - https://snyk.io/vuln/SNYK-DEBIAN11-PYTHON39-1290158 - https://snyk.io/vuln/SNYK-DEBIAN11-PYTHON39-1290158 - https://snyk.io/vuln/SNYK-DEBIAN11-PYTHON39-1290158 - https://snyk.io/vuln/SNYK-DEBIAN11-PYTHON39-1290158
11 lines
424 B
Docker
11 lines
424 B
Docker
FROM python:3.10.0b4
|
|
MAINTAINER Andrew Sotheran <cryptosky.user@gmail.com>
|
|
RUN apt update -y && \
|
|
apt install -y python3-pip && \
|
|
pip3 install nltk numpy sklearn flask pandas python-json-logger requests && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
COPY . /home/spam-filter/.
|
|
RUN python3 /home/spam-filter/configuration/scripts/nltk_package_downloads.py
|
|
EXPOSE 9090
|
|
EXPOSE 9091
|
|
CMD ["python", "/home/spam-filter/src/main.py"] |