This commit is contained in:
Your Name
2018-02-16 09:25:55 +03:00
parent 848a36f9cd
commit 74f3d3bce6
3 changed files with 11 additions and 12 deletions
+8 -11
View File
@@ -3,16 +3,13 @@ FROM arm32v7/python:slim
ENV LIBRARY_PATH=/lib:/usr/lib
ADD src/requirements.txt /
COPY tmp/qemu-arm-static /usr/bin/qemu-arm-static
RUN /usr/bin/apt-get update
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 \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
#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 \
# && apt-get autoremove -y \
# && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY src /app
#WORKDIR /app
#COPY src /app
#CMD ["python3", "-u", "/app/main.py"]
CMD ["python3", "-u", "/app/main.py"]