Back to debian, alpine is catastrophic !!!
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Michel Roux 2020-04-13 21:35:52 +02:00
parent 6e858809bd
commit 4d0a312c1a

View File

@ -1,8 +1,8 @@
FROM python:alpine FROM python:slim
COPY pynyaata /app/pynyaata COPY pynyaata /app/pynyaata
COPY requirements.txt /app COPY requirements.txt /app
COPY *.py /app/ COPY *.py /app/
WORKDIR /app WORKDIR /app
RUN apk add build-base && pip install -r requirements.txt && apk del build-base RUN pip install -r requirements.txt
CMD ["python", "run.py"] CMD ["python", "run.py"]