Update popularity model to dockerfile

This commit is contained in:
adamsvystun 2018-10-12 20:53:47 +02:00
parent c9edc7aadc
commit 96102852e3

View file

@ -44,7 +44,9 @@ RUN echo "$CAFFE_ROOT/build/lib" >> /etc/ld.so.conf.d/caffe.conf && ldconfig &&
WORKDIR /comixify
COPY . /comixify
RUN python3.6 -m pip install -r requirements.txt
RUN mkdir /comixify/popularity/pretrained_model && \
wget https://uc09e02e502c75a0f94502700ba8.dl.dropboxusercontent.com/cd/0/get/AS3P2Mj6bhm8o7W0VT0CRlqFCTN_WdIGCvjGNkYUA-YxsPajn3VDJiGA6tSCTRgUpgnvgktHRId0c2pCHQO5lDSxHtkpU1trsLOKa0acPxiXH95p3y6YpYnScc0b4wUarpGolZFeslLA0lSUodiqZkUpucaDJQOAaizSFNsPcbN-t_3c7RZf8qqoU3ResnhK6-M/file?_download_id=64139804958585964230187748620814832316528266695408017035927113036&_notify_domain=www.dropbox.com&dl=1 -P /comixify/popularity/pretrained_model/ && \
python3.6 -m pip install -r requirements.txt
# Port to expose
EXPOSE 8008