Fix Dockerfile build issue

This commit is contained in:
kyy
2025-03-18 16:41:12 +09:00
parent 6814230bfb
commit 9323aa254a
228 changed files with 467 additions and 3488 deletions

24
entrypoint.sh Normal file
View File

@@ -0,0 +1,24 @@
#!/bin/bash
set -e # 오류 발생 시 즉시 종료
# 실행 모드 설정
case "$1" in
data-gen)
echo "데이터 생성 중..."
bash /usr/src/app/making.sh
;;
evaluate)
echo "평가 실행 중..."
python /usr/src/app/main.py
;;
bash)
echo "컨테이너 내부 접근"
exec /bin/bash
;;
*)
echo "기본 default 실행 모드: bash"
echo "사용 가능한 실행 모드: data-gen | evaluate | bash"
exit 1
;;
esac