FROM python:3.12-slim WORKDIR /app # 의존성 먼저 설치 (레이어 캐시 활용) COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY . . # 항상 APP_ENV=local 로 실행 → config.local.toml 사용. ENV APP_ENV=local EXPOSE 9600 CMD ["python", "web_main.py"]