mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-09-18 12:00:43 +08:00
15 lines
290 B
Docker
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
|