From c5604af43f1e32fcaca2f6695eecbf6de4789599 Mon Sep 17 00:00:00 2001 From: andrewso <9V5f1FkzI2LD> Date: Thu, 5 Mar 2020 19:18:27 +0000 Subject: [PATCH] [05.03.20] Dockerfile pip packages --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6fe52a4..3ca5483 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,9 @@ FROM python:3.7-alpine MAINTAINER Andrew Sotheran RUN apk update && \ - apk add py-pip libc-dev gcc g++ wget -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 + apk add py-pip libc-dev gcc RUN pip install utils pycryptodome && \ - pip install nltk numpy sklearn flask + pip install nltk numpy sklearn flask pandas COPY . /home/spam-filter/. EXPOSE 9090 CMD ["python", "/home/spam-filter/src/main.py"] \ No newline at end of file