Merge pull request 'Make python package install cacheable' (#2) from perillamint/minya_hotomoe:dev/docker-ci into main

Reviewed-on: #2
This commit is contained in:
capedayo 2024-05-16 18:16:53 +02:00
commit e630df6792

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