mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-09-19 12:10:28 +08:00
13 lines
262 B
Docker
13 lines
262 B
Docker
FROM nvcr.io/nvidia/tensorflow:19.08-py3
|
|
|
|
ENV APP_HOME /app
|
|
WORKDIR $APP_HOME
|
|
COPY . ./
|
|
|
|
RUN pip install -r requirements.txt
|
|
RUN cd generator/ctrl
|
|
RUN ./install_ctrl_py3.sh
|
|
RUN ./download_model.sh
|
|
|
|
CMD exec guincorn --bind :%PORT --workers 1 --threads 8 app:app
|