nonebot2/Dockerfile
2017-01-01 23:16:34 +08:00

16 lines
349 B
Docker

FROM python:3.5.1
MAINTAINER Richard Chien <richardchienthebest@gmail.com>
COPY *.py ./
COPY commands commands
COPY filters filters
COPY requirements.txt requirements.txt
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
RUN apt-get update \
&& apt-get install -y ffmpeg \
&& rm -rf /var/lib/apt/lists/*
CMD python app.py