docker 이미지를 만들기 위한 부분 추가

This commit is contained in:
2025-07-22 15:28:38 +09:00
parent e9a21a45d3
commit f6cb85b54b
2 changed files with 33 additions and 0 deletions

13
build/Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM python:3.11-slim
# 작업 디렉토리 설정
WORKDIR /app
# 의존성 파일 복사 및 설치
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# 소스 코드 복사
COPY . .
CMD ["python", "run.py"]