Spaces:
Running
Running
| # Dockerfile (이거 그대로 복사해서 Dockerfile 이라는 이름으로 저장!) | |
| FROM python:3.9-slim-buster | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app.py . | |
| COPY dataset.xlsx . | |
| EXPOSE 7860 | |
| # 네 Flask 앱을 웹 서버처럼 실행시켜주는 명령어 (Gunicorn이 도와줌) | |
| CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"] |