Spaces:
Sleeping
Sleeping
# 베이스 이미지 선택 | |
FROM python:3.9-slim | |
# 작업 디렉토리 설정 | |
WORKDIR /app | |
# 필요한 패키지 설치 | |
COPY requirements.txt requirements.txt | |
RUN pip install --no-cache-dir -r requirements.txt | |
# 추가: openai 패키지 설치 | |
RUN pip install openai | |
# 애플리케이션 소스 복사 | |
COPY . . | |
# 애플리케이션 실행 | |
CMD ["python", "app.py"] | |