mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-15 01:21:48 +03:00
a3ca7ecb37
* feat(docker): added docker for prod * feat(refacto): moved to modules
14 lines
340 B
Docker
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"] |