modified: Dockerfile

Updating to using python3
This commit is contained in:
Jonathan Ervine 2020-05-13 21:07:46 +08:00
parent 27621fba18
commit 53c4997921

View File

@ -17,10 +17,10 @@ RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositorie
apk update && \
apk -U upgrade && \
apk -U add \
python \
py-lxml \
py-simplejson \
py-openssl
python3 \
py3-lxml \
py3-simplejson \
py3-openssl
RUN wget https://github.com/CouchPotato/CouchPotatoServer/archive/$VERSION.tar.gz -O couchpotato.tar.gz && \
tar zxvf couchpotato.tar.gz && \
@ -37,4 +37,4 @@ EXPOSE 5050
USER $CP_USER
CMD [ "/usr/bin/python", "/couchpotato/CouchPotato.py", "--console_log", "--data_dir=/config" ]
CMD [ "/usr/bin/python3", "/couchpotato/CouchPotato.py", "--console_log", "--data_dir=/config" ]