diff --git a/.omc/state/hud-stdin-cache.json b/.omc/state/hud-stdin-cache.json index 3a809be..7ff5732 100644 --- a/.omc/state/hud-stdin-cache.json +++ b/.omc/state/hud-stdin-cache.json @@ -1 +1 @@ -{"session_id":"c6076903-686c-4f74-8b81-403fbae84ce1","transcript_path":"C:\\Users\\User\\.claude\\projects\\D--PRJ-crypto-news\\c6076903-686c-4f74-8b81-403fbae84ce1.jsonl","cwd":"D:\\PRJ\\crypto_news","model":{"id":"claude-opus-4-6[1m]","display_name":"Opus 4.6 (1M context)"},"workspace":{"current_dir":"D:\\PRJ\\crypto_news","project_dir":"D:\\PRJ\\crypto_news","added_dirs":[]},"version":"2.1.78","output_style":{"name":"default"},"cost":{"total_cost_usd":8.515859249999995,"total_duration_ms":65435508,"total_api_duration_ms":696415,"total_lines_added":0,"total_lines_removed":0},"context_window":{"total_input_tokens":283,"total_output_tokens":27238,"context_window_size":1000000,"current_usage":{"input_tokens":3,"output_tokens":199,"cache_creation_input_tokens":1179,"cache_read_input_tokens":124502},"used_percentage":13,"remaining_percentage":87},"exceeds_200k_tokens":false} \ No newline at end of file +{"session_id":"c6076903-686c-4f74-8b81-403fbae84ce1","transcript_path":"C:\\Users\\User\\.claude\\projects\\D--PRJ-crypto-news\\c6076903-686c-4f74-8b81-403fbae84ce1.jsonl","cwd":"D:\\PRJ\\crypto_news","model":{"id":"claude-opus-4-6[1m]","display_name":"Opus 4.6 (1M context)"},"workspace":{"current_dir":"D:\\PRJ\\crypto_news","project_dir":"D:\\PRJ\\crypto_news","added_dirs":[]},"version":"2.1.78","output_style":{"name":"default"},"cost":{"total_cost_usd":9.266889999999995,"total_duration_ms":65558246,"total_api_duration_ms":754599,"total_lines_added":4,"total_lines_removed":4},"context_window":{"total_input_tokens":309,"total_output_tokens":29474,"context_window_size":1000000,"current_usage":{"input_tokens":3,"output_tokens":142,"cache_creation_input_tokens":293,"cache_read_input_tokens":132333},"used_percentage":13,"remaining_percentage":87},"exceeds_200k_tokens":false} \ No newline at end of file diff --git a/.omc/state/last-tool-error.json b/.omc/state/last-tool-error.json index 767114e..17a11ca 100644 --- a/.omc/state/last-tool-error.json +++ b/.omc/state/last-tool-error.json @@ -1,7 +1,7 @@ { "tool_name": "Bash", - "tool_input_preview": "{\"command\":\"ssh root@100.118.136.45 \\\"ps aux | grep streamlit | grep -v grep\\\"\",\"timeout\":15000,\"description\":\"Find streamlit PID\"}", - "error": "Exit code 1", - "timestamp": "2026-03-19T05:35:18.863Z", - "retry_count": 2 + "tool_input_preview": "{\"command\":\"bash \\\"C:/Users/User/Desktop/SERVER_ 운영/deploy.sh\\\" .\",\"timeout\":300000,\"description\":\"Deploy crypto_news from project directory\"}", + "error": "Exit code 1\n\n\u001b[0;36m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m\n\u001b[1m\u001b[0;36m Deploy: crypto_news\u001b[0m\n\u001b[0;36m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m\n\n\u001b[0;34m[1/7] 프로젝트 준비\u001b[0m\n \u001b[1;33m! Dockerfile 없음 → 자동 생성\u001b[0m\n \u001b[0;32m✓ Dockerfile 생성됨 (python)\u001b[0m\n\u001b[0;34m[2/7] Git 연결\u001b[0m\n \u001b[0;32m✓ Git 초기화\u001b[0m\n \u001b[0;32m✓ Gitea 레포 생성: crypto_news\u001b[0m\n\u001b[0;34m[3/7] 커밋 & 푸시\u001b[0m\nwarning: in the working copy of '.bkit/agent-state.json', LF will be replaced by CRLF the next time Git touche...", + "timestamp": "2026-03-19T22:50:35.665Z", + "retry_count": 1 } \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 95d6852..8ebb601 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM python:3.12-slim WORKDIR /app -COPY requirements.txt* pyproject.toml* ./ -RUN pip install --no-cache-dir -r requirements.txt 2>/dev/null || pip install --no-cache-dir . 2>/dev/null || true +COPY requirements.txt ./ +RUN pip install --no-cache-dir -r requirements.txt COPY . . -EXPOSE 8000 -CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"] +EXPOSE 8502 +CMD ["streamlit", "run", "dashboard/app.py", "--server.port=8502", "--server.address=0.0.0.0", "--server.headless=true"]