diff --git a/Dockerfile b/Dockerfile index 885dc89..c606907 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,6 @@ RUN apt update -y && \ pip3 install nltk numpy sklearn flask pandas && \ rm -rf /var/lib/apt/lists/* COPY . /home/spam-filter/. +RUN python3 /home/spam-filter/configuration/scripts/nltk_package_downloads.py EXPOSE 9090 -CMD ["python", "/home/spam-filter/configuration/scripts/nltk_package_downloads.py"] CMD ["python", "/home/spam-filter/src/main.py"] \ No newline at end of file