Switch from alpine base to debian

So that python requirements could be installed from wheels.
This commit is contained in:
Mehran Kholdi 2020-04-23 18:56:32 +04:30
parent 0dec2f269b
commit da2856237b

View File

@ -1,10 +1,9 @@
FROM python:3-alpine3.11 FROM python:3
WORKDIR /app/ WORKDIR /app/
ENV PIP_NO_CACHE_DIR 1 ENV PIP_NO_CACHE_DIR 1
ADD ./requirements.txt ./ ADD ./requirements.txt ./
RUN apk add --no-cache gcc linux-headers make musl-dev python-dev g++
RUN pip install -r ./requirements.txt RUN pip install -r ./requirements.txt
ADD ./ ./ ADD ./ ./