Update Dockerfile

This commit is contained in:
ZeroNet 2020-03-24 02:09:57 +01:00 committed by GitHub
parent abde3d4cf7
commit 740fe65355
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 6 deletions

View File

@ -1,4 +1,4 @@
FROM alpine:3.8
FROM alpine:3.10
#Base settings
ENV HOME /root
@ -6,14 +6,13 @@ ENV HOME /root
COPY requirements.txt /root/requirements.txt
#Install ZeroNet
RUN apt-get update && apt-get install -yq python3 python3-dev openssl \
&& apt-get list \
&& apk --no-cache --no-progress add python3 python3-dev gcc libffi-dev musl-dev make tor openssl \
RUN apk --update --no-cache --no-progress add python3 python3-dev gcc libffi-dev musl-dev make tor openssl \
&& pip3 install -r /root/requirements.txt \
&& apk del python3-dev gcc libffi-dev musl-dev make \
&& echo "ControlPort 9051" >> /etc/tor/torrc \
&& echo "CookieAuthentication 1" >> /etc/tor/torrc \
&& python3 -V \
&& echo "CookieAuthentication 1" >> /etc/tor/torrc
RUN python3 -V \
&& python3 -m pip list \
&& tor --version \
&& openssl version