From af799a097ec5eef54a503085fb171bce1c8d310d Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sun, 23 Oct 2022 15:59:13 +0200 Subject: [PATCH] Fix syntax --- .github/workflows/test-container-build.yml | 6 +++--- Dockerfile | 1 + requirements.txt | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test-container-build.yml b/.github/workflows/test-container-build.yml index cc457286..6dfed0d1 100644 --- a/.github/workflows/test-container-build.yml +++ b/.github/workflows/test-container-build.yml @@ -2,9 +2,9 @@ name: ChangeDetection.io Container Build Test # Triggers the workflow on push or pull request events on: [push, pull_request] - paths: - - requirements.txt - - Dockerfile + paths: + - requirements.txt + - Dockerfile # Changes to requirements.txt packages and Dockerfile may or may not always be compatible with arm etc, so worth testing # @todo: some kind of path filter for requirements.txt and Dockerfile diff --git a/Dockerfile b/Dockerfile index d422918e..978a912c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,6 +64,7 @@ EXPOSE 5000 # The actual flask app COPY changedetectionio /app/changedetectionio + # The eventlet server wrapper COPY changedetection.py /app/changedetection.py diff --git a/requirements.txt b/requirements.txt index bffc2a7f..64968830 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ -flask~= 2.0 +flask ~= 2.0 flask_wtf -eventlet>=0.31.0 +eventlet >= 0.31.0 validators -timeago ~=1.0 +timeago ~= 1.0 inscriptis ~= 2.2 feedgen ~= 0.9 flask-login ~= 0.5