kltn20133118 commited on
Commit
0cd59e1
·
verified ·
1 Parent(s): 49f72e4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.11
2
 
3
  WORKDIR /code
4
 
@@ -36,7 +36,7 @@ RUN playwright install chromium
36
  COPY . .
37
 
38
  # Mở các cổng cần thiết
39
- EXPOSE 7860
40
 
41
  # Khởi động ứng dụng với Uvicorn
42
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
+ FROM mcr.microsoft.com/playwright/python:v1.30.0-focal
2
 
3
  WORKDIR /code
4
 
 
36
  COPY . .
37
 
38
  # Mở các cổng cần thiết
39
+ EXPOSE 7860 9222
40
 
41
  # Khởi động ứng dụng với Uvicorn
42
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]