Update dockerfile to reflect removal of data

This commit is contained in:
Fred Boniface 2023-07-12 19:56:55 +01:00
parent 379f01502a
commit 591cbb2e46
2 changed files with 0 additions and 2 deletions

View File

@ -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" ]

View File

@ -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()