Add dockerfile

This commit is contained in:
dave 2019-05-29 16:40:49 -07:00
parent ecdece52b9
commit 82b16964d0
1 changed files with 18 additions and 0 deletions

18
Dockerfile Normal file
View File

@ -0,0 +1,18 @@
FROM ubuntu:disco
RUN apt-get update && \
apt-get install -y python3-pip git
# RUN apt-get update && \
# apt-get install -y python3 git wget && \
# wget -q -O /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py && \
# python3 /tmp/get-pip.py && \
# rm /tmp/get-pip.py
ADD . /tmp/code
RUN cd /tmp/code && \
pip3 install -r requirements.txt && \
python3 setup.py install
ENTRYPOINT ["dirviewd"]