mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-24 20:03:41 +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"] |