forked from capedayo/minya_hotomoe
Make python package install cacheable
This commit is contained in:
parent
f88d8025b6
commit
38211e5d58
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
|
||||
WORKDIR /opt/minya
|
||||
|
||||
ADD . /opt/minya
|
||||
ADD requirements.txt /opt/minya
|
||||
|
||||
RUN python3 -m pip install -r requirements.txt
|
||||
|
||||
ADD . /opt/minya
|
||||
|
||||
CMD ["python3", "minya.py"]
|
||||
|
|
Loading…
Reference in a new issue