[06.03.20] Finally a working dockerfile

This commit is contained in:
andrewso 2020-03-06 12:36:45 +00:00
parent cfc21e360f
commit 6ad25f3b1c

View File

@ -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"]