Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
FROM mcr.microsoft.com/playwright/python:v1.47.0-noble
|
| 2 |
WORKDIR /code
|
| 3 |
RUN chmod 777 /code
|
| 4 |
-
RUN pip install
|
| 5 |
RUN mkdir -p /.cache && chmod 777 /.cache
|
| 6 |
-
RUN
|
| 7 |
COPY . .
|
| 8 |
CMD ["python", "/code/app.py"]
|
|
|
|
| 1 |
FROM mcr.microsoft.com/playwright/python:v1.47.0-noble
|
| 2 |
WORKDIR /code
|
| 3 |
RUN chmod 777 /code
|
| 4 |
+
RUN pip install patchright apscheduler fastapi httpx python-multipart uvicorn
|
| 5 |
RUN mkdir -p /.cache && chmod 777 /.cache
|
| 6 |
+
RUN patchright install --with-deps chromium
|
| 7 |
COPY . .
|
| 8 |
CMD ["python", "/code/app.py"]
|