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

COPY requirements.txt /requirements.txt

RUN apk add --no-cache curl git openssh-client python2 py2-pip rsync && \
RUN apk add --no-cache curl git openssh-client python3 py3-pip rsync && \
ln -s /usr/bin/pip3 /usr/bin/pip && \
pip install --compile -r requirements.txt --no-cache-dir && \
rm -f requirements.txt


Loading…
Cancel
Save