Dockerfile: Point home into volume
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2022-01-06 14:10:30 +01:00
parent 68c61f40d3
commit 9f83e5b178

View File

@ -6,7 +6,8 @@ COPY requirements.txt /usr/src/app/
RUN apk add --no-cache bash build-base capstone-dev mandoc-doc man-db w3m youtube-dl aspell aspell-fr && \ RUN apk add --no-cache bash build-base capstone-dev mandoc-doc man-db w3m youtube-dl aspell aspell-fr && \
pip install --no-cache-dir -r requirements.txt && \ pip install --no-cache-dir -r requirements.txt && \
pip install bs4 capstone dnspython && \ pip install bs4 capstone dnspython && \
apk del build-base capstone-dev apk del build-base capstone-dev && \
ln -s /var/lib/nemubot/home /home/nemubot
VOLUME /var/lib/nemubot VOLUME /var/lib/nemubot