File tree Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -29,4 +29,4 @@ ENV PYTHONUNBUFFERED=1
2929ENV STREAMLIT_SERVER_PORT=8501
3030
3131# 8. 실행 명령
32- CMD ["lang2sql" , "run-streamlit-docker " ]
32+ CMD ["lang2sql" , "run-streamlit" ]
Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments