14 lines
244 B
Docker
14 lines
244 B
Docker
FROM python:3.11
|
|
|
|
WORKDIR /code/
|
|
|
|
COPY requirements.txt requirements.txt
|
|
|
|
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
|
COPY app app
|
|
|
|
RUN python3 -m app.main
|
|
|
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
|