fixing location for patching

This commit is contained in:
Emilien 2024-11-17 23:54:11 +01:00
parent 234fb03f08
commit 11f64ec105

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.13/site-packages/nodriver/core/browser.py
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
CMD [ "./startup.sh"]