This commit is contained in:
Your Name
2018-02-15 23:54:00 +03:00
parent a32cc13bc3
commit 5182c22f1a
3 changed files with 7 additions and 4 deletions
+5 -2
View File
@@ -1,9 +1,12 @@
FROM alpine-python:latest
FROM arm32v7/python:slim
ENV LIBRARY_PATH=/lib:/usr/lib
ADD src/requirements.txt /
RUN pip install --upgrade pip && pip install -r /requirements.txt
RUN apt-get update && apt-get install -y build-essential autoconf \
&& pip install --upgrade pip && pip install -r /requirements.txt \
&& apt-get remove -y build-essential autoconf \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY src /app