Spaces:
Running
Running
File size: 397 Bytes
d2b1063 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# 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"] |