Merge pull request #1805 from SuperSandro2000/patch-1

Update Dockerfile
This commit is contained in:
ZeroNet 2018-12-08 13:58:01 +01:00 committed by GitHub
commit e8e0a19758
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,16 +1,14 @@
FROM alpine:3.6 FROM alpine:3.8
#Base settings #Base settings
ENV HOME /root ENV HOME /root
#Install ZeroNet #Install ZeroNet
RUN apk --update upgrade \ RUN apk --no-cache --no-progress add musl-dev gcc python python-dev py2-pip tor \
&& apk --no-cache --no-progress add musl-dev gcc python python-dev py2-pip tor \ && pip install --no-cache-dir gevent msgpack \
&& pip install gevent msgpack \ && apk del musl-dev gcc python-dev py2-pip \
&& apk del musl-dev gcc python-dev py2-pip \ && echo "ControlPort 9051" >> /etc/tor/torrc \
&& rm -rf /var/cache/apk/* /tmp/* /var/tmp/* \ && echo "CookieAuthentication 1" >> /etc/tor/torrc
&& echo "ControlPort 9051" >> /etc/tor/torrc \
&& echo "CookieAuthentication 1" >> /etc/tor/torrc
#Add Zeronet source #Add Zeronet source
COPY . /root COPY . /root