Fix python wheels on alpine
This commit is contained in:
parent
3bce181e63
commit
48d77068ae
1 changed files with 5 additions and 1 deletions
|
|
@ -2,7 +2,11 @@ FROM python:3.7-alpine
|
||||||
|
|
||||||
MAINTAINER Yehuda Deutsch <yeh@uda.co.il>
|
MAINTAINER Yehuda Deutsch <yeh@uda.co.il>
|
||||||
|
|
||||||
RUN pip install sanic
|
RUN echo 'manylinux1_compatible = True' > /usr/local/lib/python3.7/_manylinux.py
|
||||||
|
RUN apk add --virtual .build-deps gcc musl-dev \
|
||||||
|
&& pip install sanic \
|
||||||
|
&& rm -Rf ~/.cache \
|
||||||
|
&& apk --purge del .build-deps
|
||||||
|
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
COPY app.py /code
|
COPY app.py /code
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue