FROM python:3.8 as builder RUN apt-get update && apt-get install -y gcc python-pip ADD app/requirements.txt /requirements.txt RUN pip install -r requirements.txt RUN pip install pylint ADD app /app RUN printf "\n\nTesting your python code for errors\n\n" && \ pylint -E /app/*.py WORKDIR /app RUN printf "\n#########################\n Run dragon bot by typing \n python dragon-bot.py\n#########################\n\n" CMD python /app/dragon-bot-updated.py