quivr/backend/Dockerfile
Stan Girard a3ca7ecb37
Back/refacto files (#240)
* feat(docker): added docker for prod

* feat(refacto): moved to modules
2023-06-03 23:12:42 +02:00

14 lines
340 B
Docker

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