modified: Dockerfile

Use python2
This commit is contained in:
Jonathan Ervine 2020-05-13 21:32:41 +08:00
parent 53c4997921
commit f4b5ac434d

View File

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