Spaces:
Sleeping
Sleeping
Download Dockerfile from SG34/openLLMchatbot: direct link, hf CLI and curl.
- Browser
- Download file 370 Bytes
-
https://huggingface.co/spaces/SG34/openLLMchatbot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/SG34/openLLMchatbot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/SG34/openLLMchatbot/resolve/main/Dockerfile
370 Bytes
| # 베이스 이미지 선택 | |
| 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"] | |