From 591cbb2e4666af3049b5218e07462ca662b95427 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Wed, 12 Jul 2023 19:56:55 +0100 Subject: [PATCH] Update dockerfile to reflect removal of data --- Dockerfile | 1 - src/timetable.py | 1 - 2 files changed, 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8e93c6f..1fceb50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,5 +2,4 @@ FROM python:3.11-alpine COPY ./requirements.txt /app/requirements.txt RUN [ "pip", "install", "-r", "/app/requirements.txt" ] COPY ./src /app/src -COPY ./data /app/data CMD [ "python", "/app/src/main.py" ] \ No newline at end of file diff --git a/src/timetable.py b/src/timetable.py index b0ea87c..c921e1e 100644 --- a/src/timetable.py +++ b/src/timetable.py @@ -27,7 +27,6 @@ import mongo import time from datetime import datetime, timedelta -# This module downloads a single TOCs Schedule data now = datetime.now() yesterday = now - timedelta(days=1) yesterdayDay = yesterday.strftime("%a").lower()