kltn20133118 commited on
Commit
a510602
·
verified ·
1 Parent(s): 26523ea

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -7
Dockerfile CHANGED
@@ -45,13 +45,8 @@ ENV XDG_CACHE_HOME=/code/.cache
45
  RUN mkdir -p /code/.cache && chmod -R 777 /code
46
  COPY ./requirements.txt /code/requirements.txt
47
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
48
- RUN pip install fastapi uvicorn psutil
49
-
50
- RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
51
- playwright install chromium; \
52
- elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
53
- playwright install chromium; \
54
- fi
55
 
56
  COPY . .
57
 
 
45
  RUN mkdir -p /code/.cache && chmod -R 777 /code
46
  COPY ./requirements.txt /code/requirements.txt
47
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
48
+ RUN pip install playwright
49
+ RUN playwright install chromium
 
 
 
 
 
50
 
51
  COPY . .
52