update pip before installing the deps

This commit is contained in:
nicco 2019-01-14 19:36:08 +01:00
parent 94b4794a36
commit d90f8ad0fd

View File

@ -2,9 +2,10 @@ FROM alpine:3.7
WORKDIR /app WORKDIR /app
COPY ./requirements.txt .
RUN apk add --no-cache python3 RUN apk add --no-cache python3
RUN python3 -m pip install --upgrade pip
COPY ./requirements.txt .
RUN python3 -m pip install --no-cache-dir -r requirements.txt RUN python3 -m pip install --no-cache-dir -r requirements.txt
COPY ./ . COPY ./ .