This commit is contained in:
Nick
2019-11-01 13:04:37 -06:00
parent b31a8656c4
commit 96f0c9b11d
+2 -1
View File
@@ -5,9 +5,10 @@ WORKDIR $APP_HOME
COPY . ./
RUN pip install -r requirements.txt
RUN cd generator/ctrl
WORKDIR generator/ctrl
RUN ls
RUN sh install_ctrl_py3.sh
RUN sh download_model.sh
WORKDIR $APP_HOME
CMD exec guincorn --bind :%PORT --workers 1 --threads 8 app:app