| FROM python:3.11-slim | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| # Chép file logic của load balancer và đổi tên thành app.py trong container | |
| COPY ./app.py /code/app.py | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"] |