Yusin commited on
Commit
b40da41
1 Parent(s): a958c1f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -3,6 +3,8 @@
3
 
4
  FROM ultrafunk/undetected-chromedriver:latest
5
 
 
 
6
  WORKDIR /code
7
 
8
  COPY ./requirements.txt /code/requirements.txt
@@ -11,5 +13,6 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
12
  COPY . .
13
 
 
14
  #CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
15
  CMD ["python", "main.py"]
 
3
 
4
  FROM ultrafunk/undetected-chromedriver:latest
5
 
6
+ ENV PYTHONUNBUFFERED=1
7
+
8
  WORKDIR /code
9
 
10
  COPY ./requirements.txt /code/requirements.txt
 
13
 
14
  COPY . .
15
 
16
+ USER root
17
  #CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
18
  CMD ["python", "main.py"]