travis
This commit is contained in:
+9
-7
@@ -2,14 +2,16 @@ FROM arm32v7/python:slim
|
|||||||
|
|
||||||
ENV LIBRARY_PATH=/lib:/usr/lib
|
ENV LIBRARY_PATH=/lib:/usr/lib
|
||||||
|
|
||||||
#ADD src/requirements.txt /
|
ADD src/requirements.txt /
|
||||||
RUN apt-get update && apt-get install -y build-essential autoconf \
|
RUN apt-get update
|
||||||
|
|
||||||
|
#RUN apt-get update && apt-get install -y build-essential autoconf \
|
||||||
# && pip install --upgrade pip && pip install -r /requirements.txt \
|
# && pip install --upgrade pip && pip install -r /requirements.txt \
|
||||||
# && apt-get remove -y build-essential autoconf \
|
# && apt-get remove -y build-essential autoconf \
|
||||||
&& apt-get autoremove -y \
|
# && apt-get autoremove -y \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
# && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
WORKDIR /app
|
#WORKDIR /app
|
||||||
COPY src /app
|
#COPY src /app
|
||||||
|
|
||||||
CMD ["python3", "-u", "/app/main.py"]
|
#CMD ["python3", "-u", "/app/main.py"]
|
||||||
|
|||||||
Reference in New Issue
Block a user