FROM python:3.11-slim WORKDIR /app COPY requirements.txt /app/ RUN pip install --no-cache-dir -r requirements.txt COPY . /app/ ENV PORT=7860 EXPOSE 7860 # gunicorn 안 씀: python으로 직접 실행 CMD ["python", "-u", "app.py"]