more efficient caching of images

This commit is contained in:
2022-12-06 01:39:17 +01:00
parent 088d86f4dd
commit ba5958fb77
+4 -1
View File
@@ -2,8 +2,11 @@ FROM python:3.10
WORKDIR /opt/stroopwafel WORKDIR /opt/stroopwafel
COPY . ./ # Do the requirements first for better caching
COPY requirements.txt .
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
COPY . ./
CMD python -m unittest tests CMD python -m unittest tests