Browse Source

docker: swithc to python3

pull/1/head
Annika Backstrom 1 year ago
parent
commit
039f751faf
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      Dockerfile

+ 2
- 1
Dockerfile View File

@@ -2,7 +2,8 @@ FROM alpine:3.7
2 2
 
3 3
 COPY requirements.txt /requirements.txt
4 4
 
5
-RUN apk add --no-cache curl git openssh-client python2 py2-pip rsync && \
5
+RUN apk add --no-cache curl git openssh-client python3 py3-pip rsync && \
6
+	ln -s /usr/bin/pip3 /usr/bin/pip && \
6 7
 	pip install --compile -r requirements.txt --no-cache-dir && \
7 8
 	rm -f requirements.txt
8 9
 

Loading…
Cancel
Save