[05.03.20] Dockerfile pip packages
This commit is contained in:
parent
bf490b127c
commit
892fe3f291
@ -2,8 +2,10 @@ FROM python:3.7-alpine
|
||||
MAINTAINER Andrew Sotheran <cryptosky.user@gmail.com>
|
||||
RUN apk update && \
|
||||
apk add py-pip libc-dev gcc
|
||||
RUN wget https://pypi.python.org/packages/da/c6/0936bc5814b429fddb5d6252566fe73a3e40372e6ceaf87de3dec1326f28/pandas-0.22.0-cp36-cp36m-manylinux1_x86_64.whl
|
||||
RUN pip install pandas-0.22.0-cp36-cp36m-manylinux1_x86_64.whl
|
||||
RUN pip install utils pycryptodome && \
|
||||
pip install nltk numpy pandas numpy sklearn flask
|
||||
pip install nltk numpy sklearn flask
|
||||
COPY . /home/spam-filter/.
|
||||
EXPOSE 9090
|
||||
CMD ["python", "/home/spam-filter/src/main.py"]
|
||||
Loading…
x
Reference in New Issue
Block a user