FROM python:3

WORKDIR /usr/src/app

COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt

COPY ./views/ ./views/
COPY ./static/ ./static/
COPY ./words/ ./words/
COPY *.py ./

CMD [ "python", "./app.py" ]