modified: Dockerfile
Use python2
This commit is contained in:
parent
53c4997921
commit
f4b5ac434d
10
Dockerfile
10
Dockerfile
@ -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 \
|
||||
python3 \
|
||||
py3-lxml \
|
||||
py3-simplejson \
|
||||
py3-openssl
|
||||
python \
|
||||
py-lxml \
|
||||
py-simplejson \
|
||||
py-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/python3", "/couchpotato/CouchPotato.py", "--console_log", "--data_dir=/config" ]
|
||||
CMD [ "/usr/bin/python2", "/couchpotato/CouchPotato.py", "--console_log", "--data_dir=/config" ]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user