[06.03.20] Finally a working dockerfile
This commit is contained in:
parent
cfc21e360f
commit
6ad25f3b1c
@ -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"]
|
||||
Loading…
x
Reference in New Issue
Block a user