13 lines
259 B
Docker
13 lines
259 B
Docker
FROM python:3.11-slim
|
|
WORKDIR /app
|
|
COPY . /app
|
|
|
|
|
|
|
|
|
|
RUN pip install --no-cache-dir -U pip
|
|
RUN pip install --no-cache-dir uvicorn fastapi
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "80"]
|