SG34 commited on
Commit
70361cc
·
verified ·
1 Parent(s): 198234f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -0
Dockerfile CHANGED
@@ -1 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
1
  RUN pip install openai
 
 
 
 
 
 
 
1
+ # 베이스 이미지 선택
2
+ FROM python:3.9-slim
3
+
4
+ # 작업 디렉토리 설정
5
+ WORKDIR /app
6
+
7
+ # 필요한 패키지 설치
8
+ COPY requirements.txt requirements.txt
9
+ RUN pip install --no-cache-dir -r requirements.txt
10
+
11
+ # 추가: openai 패키지 설치
12
  RUN pip install openai
13
+
14
+ # 애플리케이션 소스 복사
15
+ COPY . .
16
+
17
+ # 애플리케이션 실행
18
+ CMD ["python", "app.py"]