diff --git a/Jenkinsfile b/Jenkinsfile index 9057b83..ee89d7c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -53,6 +53,10 @@ print('All files OK') echo "=== Syncing source to deploy directory ===" mkdir -p ${DEPLOY_DIR} + # bind mount 대상 디렉터리 사전 생성 (없으면 docker 가 Bind mount failed 로 중단) + mkdir -p ${DEPLOY_DIR}/logs ${DEPLOY_DIR}/token_cache + chmod 777 ${DEPLOY_DIR}/token_cache 2>/dev/null || true + # .env 존재 확인 if [ ! -f "${ENV_FILE}" ]; then echo "WARNING: ${ENV_FILE} not found. Creating template..."