Skip to content

Commit

Permalink
Merge pull request HelloZeroNet#108 from n3r0-ch/master
Browse files Browse the repository at this point in the history
Added Dockerfile
  • Loading branch information
HelloZeroNet committed May 27, 2015
2 parents 7883a4f + 310ed6f commit 9b7c21e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
FROM ubuntu:14.04

MAINTAINER Felix Imobersteg <[email protected]>

#Base settings
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 -y
RUN pip install msgpack-python --upgrade

#Add Zeronet source
ADD . /root

#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

#Expose ports
EXPOSE 43110
EXPOSE 15441

0 comments on commit 9b7c21e

Please sign in to comment.