dragon-bot/Dockerfile-test-env
Jason Ji 2c5907d6ec Merge branch 'master' into 'weather'
# Conflicts:
#   .gitlab-ci.yml
#   Dockerfile
#   Dockerfile-test-env

Resolved by importing both PyOWM and BeautifulSoup4
2017-09-22 00:56:10 +00:00

13 lines
439 B
Plaintext

FROM python:3.6.2-alpine3.6
LABEL name="Dragon Bot Test environment"
RUN apk update && apk add --no-cache vim docker
RUN pip install requests discord.py docker pylint wolframalpha pyowm beautifulsoup4
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"