From 96102852e360c93113662b09a8eb08fcd1884dac Mon Sep 17 00:00:00 2001 From: adamsvystun Date: Fri, 12 Oct 2018 20:53:47 +0200 Subject: [PATCH] Update popularity model to dockerfile --- dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dockerfile b/dockerfile index 34daad4..9658cd6 100644 --- a/dockerfile +++ b/dockerfile @@ -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