FROM python:3
ENV PYTHONUNBUFFERED=1
RUN apt-get update && apt-get install -y cron
RUN cd / && mkdir cron && cd cron && touch fetchNews.log
WORKDIR /code
COPY requirements.txt /code/
RUN pip install -r requirements.txt
COPY . /code/
