quivr/backend/core/Dockerfile
2023-08-17 19:10:30 +02:00

15 lines
339 B
Docker

FROM python:3.11-bullseye
# Install GEOS library
RUN apt-get update && apt-get install -y libgeos-dev pandoc
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir -r /code/requirements.txt --timeout 100
COPY . /code
CMD ["uvicorn", "main:app", "--reload", "--host", "0.0.0.0", "--port", "5050"]