Skip to content

Commit 2e39eb2

Browse files
committed
remove: CLI run-streamlit-docker 제거
1 parent e0f7889 commit 2e39eb2

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ ENV PYTHONUNBUFFERED=1
2929
ENV STREAMLIT_SERVER_PORT=8501
3030

3131
# 8. 실행 명령
32-
CMD ["lang2sql", "run-streamlit-docker"]
32+
CMD ["lang2sql", "run-streamlit"]

cli/__init__.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -237,25 +237,6 @@ def run_streamlit_cli_command(port: int) -> None:
237237
logger.info("Executing 'run-streamlit' command on port %d...", port)
238238
run_streamlit_command(port)
239239

240-
241-
@cli.command(name="run-streamlit-docker")
242-
def run_streamlit_docker_command() -> None:
243-
"""
244-
Docker 컨테이너 환경에서 Streamlit 애플리케이션을 실행하는 명령어입니다.
245-
246-
이 명령은 환경 변수 STREAMLIT_SERVER_PORT 를 읽어와
247-
해당 포트에서 Streamlit 서버를 구동합니다.
248-
docker-compose.yml 에서 설정한 환경 변수를 그대로 활용할 수 있습니다.
249-
250-
실행 예시:
251-
lang2sql run-streamlit-docker
252-
"""
253-
254-
port = int(os.environ.get("STREAMLIT_SERVER_PORT", "8501"))
255-
logger.info("Executing 'run-streamlit-docker' on port %d...", port)
256-
run_streamlit_command(port)
257-
258-
259240
@cli.command(name="query")
260241
@click.argument("question", type=str)
261242
@click.option(

0 commit comments

Comments
 (0)