nemubot/Dockerfile
Pierre-Olivier Mercier 60a9ec92b7
All checks were successful
continuous-integration/drone/push Build is passing
Rework Dockerfile
2021-05-11 10:46:53 +02:00

20 lines
No EOL
454 B
Docker

FROM python:alpine
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN apk add --no-cache bash build-base capstone-dev && \
pip install --no-cache-dir -r requirements.txt && \
pip install bs4 capstone dnspython
WORKDIR /usr/src/app
VOLUME /var/lib/nemubot
RUN apk add --no-cache mandoc-doc man-db w3m youtube-dl
COPY . .
ENTRYPOINT [ "python", "-m", "nemubot", "-d", "-P", "", "-M", "/usr/src/app/modules" ]
CMD [ "-D", "/var/lib/nemubot" ]