docker 이미지를 만들기 위한 부분 추가
This commit is contained in:
13
build/Dockerfile
Normal file
13
build/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user