Arafath10 commited on
Commit
41655a4
1 Parent(s): 9908ced

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -11,7 +11,7 @@ COPY ./requirements.txt /code/requirements.txt
11
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
12
 
13
  # Install Playwright and its dependencies
14
- RUN playwright install --with-deps
15
 
16
  # Set up a new user named "user" with user ID 1000
17
  RUN useradd -m -u 1000 user
@@ -30,6 +30,6 @@ WORKDIR $HOME/app
30
  COPY --chown=user . $HOME/app
31
 
32
  # Install Playwright browsers as the "user" user
33
- RUN playwright install
34
 
35
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860","--workers","2"]
 
11
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
12
 
13
  # Install Playwright and its dependencies
14
+ #RUN playwright install --with-deps
15
 
16
  # Set up a new user named "user" with user ID 1000
17
  RUN useradd -m -u 1000 user
 
30
  COPY --chown=user . $HOME/app
31
 
32
  # Install Playwright browsers as the "user" user
33
+ #RUN playwright install
34
 
35
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860","--workers","2"]