16 lines
321 B
Docker
16 lines
321 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /code
|
|
|
|
COPY ./requirements.txt ./
|
|
|
|
RUN apt-get update && apt-get install git -y && apt-get install curl -y
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY ./src ./src
|
|
|
|
EXPOSE 8000
|
|
|
|
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]
|