chore: move cache-bust before COPY to invalidate buildx layer cache
This commit is contained in:
+1
-1
@@ -16,10 +16,10 @@ WORKDIR /app
|
|||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
# cache-bust: 2026-05-01-v2
|
||||||
COPY services/ /app/services/
|
COPY services/ /app/services/
|
||||||
COPY scripts/ /app/scripts/
|
COPY scripts/ /app/scripts/
|
||||||
COPY tests/ /app/tests/
|
COPY tests/ /app/tests/
|
||||||
# cache-bust: 2026-05-01
|
|
||||||
COPY conftest.py /app/conftest.py
|
COPY conftest.py /app/conftest.py
|
||||||
|
|
||||||
RUN useradd -m -u 1000 stonks && \
|
RUN useradd -m -u 1000 stonks && \
|
||||||
|
|||||||
Reference in New Issue
Block a user