Skip to content

Commit

Permalink
Merge pull request HelloZeroNet#371 from gyulaweber/master
Browse files Browse the repository at this point in the history
apt-get commands should be in one line
  • Loading branch information
HelloZeroNet committed Mar 17, 2016
2 parents a18c874 + fe0eafc commit 59791ea
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,18 @@ MAINTAINER Felix Imobersteg <[email protected]>
ENV DEBIAN_FRONTEND noninteractive
ENV HOME /root

#Update package lists
RUN apt-get update -y

#Install ZeroNet deps
RUN apt-get install msgpack-python python-gevent python-pip python-dev -y
RUN pip install msgpack-python --upgrade
#Install ZeroNet
RUN \
apt-get update -y; \
apt-get -y install msgpack-python python-gevent python-pip python-dev; \
pip install msgpack-python --upgrade; \
apt-get clean -y; \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

#Add Zeronet source
ADD . /root
VOLUME /root/data

#Slimming down Docker containers
RUN apt-get clean -y
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

#Set upstart command
CMD cd /root && python zeronet.py --ui_ip 0.0.0.0

Expand Down

0 comments on commit 59791ea

Please sign in to comment.