Update dockerfile to reflect removal of data
This commit is contained in:
parent
379f01502a
commit
591cbb2e46
@ -2,5 +2,4 @@ FROM python:3.11-alpine
|
|||||||
COPY ./requirements.txt /app/requirements.txt
|
COPY ./requirements.txt /app/requirements.txt
|
||||||
RUN [ "pip", "install", "-r", "/app/requirements.txt" ]
|
RUN [ "pip", "install", "-r", "/app/requirements.txt" ]
|
||||||
COPY ./src /app/src
|
COPY ./src /app/src
|
||||||
COPY ./data /app/data
|
|
||||||
CMD [ "python", "/app/src/main.py" ]
|
CMD [ "python", "/app/src/main.py" ]
|
@ -27,7 +27,6 @@ import mongo
|
|||||||
import time
|
import time
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
|
|
||||||
# This module downloads a single TOCs Schedule data
|
|
||||||
now = datetime.now()
|
now = datetime.now()
|
||||||
yesterday = now - timedelta(days=1)
|
yesterday = now - timedelta(days=1)
|
||||||
yesterdayDay = yesterday.strftime("%a").lower()
|
yesterdayDay = yesterday.strftime("%a").lower()
|
||||||
|
Reference in New Issue
Block a user