Make python package install cacheable #2

Merged
capedayo merged 1 commit from perillamint/minya_hotomoe:dev/docker-ci into main 2024-05-16 18:16:53 +02:00
Showing only changes of commit 38211e5d58 - Show all commits

View file

@ -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"]