rebuild
Build-Deploy-Actions Details

This commit is contained in:
jianjiang 2023-05-04 21:06:09 +08:00
parent 92709404bf
commit 7649dd3814
2 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
FROM python:3.8.13
FROM artifacts.iflytek.com/docker-private/atp/base_image_for_ailab:0.0.1
WORKDIR /app
COPY . /app
RUN pip config set global.index-url https://pypi.mirrors.ustc.edu.cn/simple
RUN pip install -r requirements.txt
#RUN pip config set global.index-url https://pypi.mirrors.ustc.edu.cn/simple
#RUN pip install -r requirements.txt
CMD ["python", "app.py"]

2
app.py
View File

@ -44,4 +44,4 @@ with gr.Blocks(theme=theme, css="footer {visibility: hidden}") as demo:
if __name__ == "__main__":
demo.queue(concurrency_count=3)
demo.launch(server_name = "0.0.0.0", server_port = 7028)
demo.launch(server_name = "0.0.0.0")