Files
Clover-Edition/Dockerfile
T
2019-11-01 13:04:37 -06:00

15 lines
290 B
Docker

FROM nvcr.io/nvidia/tensorflow:19.08-py3
ENV APP_HOME /app
WORKDIR $APP_HOME
COPY . ./
RUN pip install -r requirements.txt
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