fix patching correct path
Some checks are pending
Docker Multi-Architecture Build / build-docker (push) Waiting to run

This commit is contained in:
Emilien 2024-11-17 16:08:04 +01:00
parent 7e78654e6d
commit 3fdd39c06b

View File

@ -20,7 +20,7 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY docker/scripts/startup.sh ./
RUN sed -i 's/await self.sleep(0.5)/await self.sleep(2)/' /usr/local/lib/python3.12/site-packages/nodriver/core/browser.py
RUN sed -i 's/await self.sleep(0.5)/await self.sleep(2)/' /usr/local/lib/python3.13/site-packages/nodriver/core/browser.py
# Run
CMD [ "./startup.sh"]