Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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"]
|