File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ echo -e "${YELLOW}→${NC} Creating working directory: ${WORK_DIR}"
4545mkdir -p " ${WORK_DIR} "
4646cd " ${WORK_DIR} "
4747
48+ # Clear working directory
49+ rm -rf " ${WORK_DIR:? } /*"
50+
4851# Download docker-compose.yml
4952echo -e " ${YELLOW} →${NC} Downloading docker-compose.yml..."
5053if ! curl -fsSL " ${COMPOSE_FILE_URL} " -o docker-compose.yml; then
Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ FROM gcr.io/distroless/static-debian12:nonroot
2121
2222WORKDIR /usr/src/app/
2323
24- COPY --from=builder /usr/src/app/product-catalog/ ./
24+ COPY --from=builder /usr/src/app/product-catalog ./
25+ COPY --from=builder /usr/src/app/products/ ./products/
2526
2627EXPOSE ${PRODUCT_CATALOG_PORT}
2728ENTRYPOINT [ "./product-catalog" ]
You can’t perform that action at this time.
0 commit comments