Make python package install cacheable #2
1 changed files with 3 additions and 1 deletions
|
@ -5,8 +5,10 @@ RUN apt-get update && apt-get install -y libgl1 && rm -rf /var/lib/apt/lists/*
|
||||||
RUN mkdir -p /opt/minya
|
RUN mkdir -p /opt/minya
|
||||||
WORKDIR /opt/minya
|
WORKDIR /opt/minya
|
||||||
|
|
||||||
ADD . /opt/minya
|
ADD requirements.txt /opt/minya
|
||||||
|
|
||||||
RUN python3 -m pip install -r requirements.txt
|
RUN python3 -m pip install -r requirements.txt
|
||||||
|
|
||||||
|
ADD . /opt/minya
|
||||||
|
|
||||||
CMD ["python3", "minya.py"]
|
CMD ["python3", "minya.py"]
|
||||||
|
|
Loading…
Reference in a new issue