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

Update Dockerfile

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