FROM python:3.9
WORKDIR /server
COPY ./requirements.txt /server/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /server/requirements.txt
COPY ./ /server
CMD ["uvicorn", "sql_app.main:app", "--host", "0.0.0.0", "--port", "8000"]