Fix dockerfile and python
This commit is contained in:
parent
69cf48b7c3
commit
2ae936ff67
@ -6,6 +6,5 @@ COPY requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY app/ ./
|
||||
COPY database.db ./
|
||||
|
||||
CMD "python monitor-planning.py"
|
||||
CMD "python3 monitor-planning.py"
|
||||
@ -21,7 +21,9 @@ search_num_weeks = 1
|
||||
reset_table = False
|
||||
|
||||
web_opts = webdriver.ChromeOptions()
|
||||
web_opts.add_argument('--no-sandbox')
|
||||
web_opts.add_argument('--headless')
|
||||
web_opts.add_argument('--disable-dev-shm-usage')
|
||||
|
||||
def notify(title, message):
|
||||
api_url = 'https://hass.jennett-wheeler.co.uk/api/webhook/-Qx6jHsGLHwbBlJpLek5Nj8qS'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user