ZHZ1024 commited on
Commit
0da38cb
·
verified ·
1 Parent(s): d0a8f1e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -15,4 +15,4 @@ RUN pip install requests
15
  EXPOSE 8000
16
 
17
  # 运行应用
18
- CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "8000"]
 
15
  EXPOSE 8000
16
 
17
  # 运行应用
18
+ CMD ["sh", "-c", "python -m playwright install && uvicorn api:app --host 0.0.0.0 --port 8000"]