-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile-huey
36 lines (32 loc) · 967 Bytes
/
Dockerfile-huey
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This is used to run Huey Tasks
#
FROM ubuntu:18.04
RUN apt-get update && apt-get install -y \
software-properties-common
RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt-get update && apt-get install -y \
python3.7 \
python3-pip
RUN python3.7 -m pip install pip
RUN apt-get update && apt-get install -y \
python3-distutils \
python3-setuptools
RUN python3.7 -m pip install pip --upgrade pip
RUN apt-get install -y python3.7-dev
RUN apt-get install -y bash
COPY app/ /app
WORKDIR /app
# RUN pip3 install -r huey-requirements.txt
RUN pip3 install huey
RUN pip3 install redis
RUN pip3 install sklearn
RUN pip3 install numpy
RUN pip3 install pandas
RUN pip3 install nltk
RUN pip3 install seaborn
RUN pip3 install spacy
COPY run_app.py /
WORKDIR /
ENTRYPOINT ["python3.7"]
CMD ["/opt/miniconda3/bin/huey_consumer.py","--verbose","app.tasks.get_similar.huey"]
# python3.7 /usr/local/bin/huey_consumer.py --verbose app.tasks.get_similar.huey