Files
wxbot/wxbot_project_py2.7/docker/Dockerfile
T

19 lines
424 B
Docker

FROM ubuntu:16.04
MAINTAINER Urinx <uri.lqy@gmail.com>
RUN apt-get update && \
apt-get install -y python \
python-dev \
python-pip && \
apt-get clean && \
apt-get autoclean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ADD weixin_bot.tar.gz /
WORKDIR /weixin_bot
RUN pip install -r config/requirements.txt
EXPOSE 80
ENTRYPOINT ["./weixin_bot.py"]
CMD [""]