travis
This commit is contained in:
1 parent
848a36f9cd
commit
74f3d3bce6
3 files changed
+11
-12
No files matched your search
+8
-11
@@ -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"]
|
||||
Reference in new issue
Block a user