1
0
Fork 0

Rework Dockerfile
continuous-integration/drone/push Build is passing Details

This commit is contained in:
nemunaire 2021-05-10 20:47:00 +02:00
parent 8dd6b9d471
commit 60a9ec92b7
1 changed files with 2 additions and 7 deletions

View File

@ -1,4 +1,4 @@
FROM python:alpine as pybuild
FROM python:alpine
WORKDIR /usr/src/app
@ -8,17 +8,12 @@ RUN apk add --no-cache bash build-base capstone-dev && \
pip install bs4 capstone dnspython
FROM python:alpine
RUN apk add --no-cache capstone mandoc-doc man-db w3m youtube-dl
WORKDIR /usr/src/app
VOLUME /var/lib/nemubot
COPY requirements.txt ./
RUN apk add --no-cache mandoc-doc man-db w3m youtube-dl
COPY --from=pybuild /usr/local/lib/python3.9 /usr/lib/python3.9
COPY . .
ENTRYPOINT [ "python", "-m", "nemubot", "-d", "-P", "", "-M", "/usr/src/app/modules" ]