Spaces:
Sleeping
Sleeping
ForStream commited on
Commit ·
d8cded5
1
Parent(s): f5f43a0
Force cache bust on COPY code/api (이전 main.py 옛 버전 캐시 무효화)
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -36,6 +36,8 @@ COPY api/requirements.txt /app/api/requirements.txt
|
|
| 36 |
RUN pip install --upgrade pip && pip install -r /app/api/requirements.txt
|
| 37 |
|
| 38 |
# 코드 (rag_engine·semantic_search 등 active/code의 핵심 모듈)
|
|
|
|
|
|
|
| 39 |
COPY code/ /app/code/
|
| 40 |
# 백엔드
|
| 41 |
COPY api/ /app/api/
|
|
|
|
| 36 |
RUN pip install --upgrade pip && pip install -r /app/api/requirements.txt
|
| 37 |
|
| 38 |
# 코드 (rag_engine·semantic_search 등 active/code의 핵심 모듈)
|
| 39 |
+
# 캐시 무효화용 ARG (commit SHA 다르면 캐시 무효화)
|
| 40 |
+
ARG CACHE_BUST=v2
|
| 41 |
COPY code/ /app/code/
|
| 42 |
# 백엔드
|
| 43 |
COPY api/ /app/api/
|