Commit 5a7da8a4 authored by Anthony Jacob's avatar Anthony Jacob
Browse files

improve image build with cache by changing app copy

parent 124cec58
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@ FROM python:latest

RUN apt update && apt install -yq iputils-ping iproute2

COPY ./app /app
COPY ./requirements.txt /app/requirements.txt
RUN pip install --upgrade pip
RUN pip install -r /app/requirements.txt
@@ -11,4 +10,6 @@ COPY docker/entrypoint.sh /entrypoint/

EXPOSE 8181

COPY ./app /app

ENTRYPOINT [ "sh" , "/entrypoint/entrypoint.sh" ]