more efficient caching of images
This commit is contained in:
+4
-1
@@ -2,8 +2,11 @@ FROM python:3.10
|
||||
|
||||
WORKDIR /opt/stroopwafel
|
||||
|
||||
COPY . ./
|
||||
# Do the requirements first for better caching
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY . ./
|
||||
|
||||
CMD python -m unittest tests
|
||||
Reference in New Issue
Block a user