mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-14 17:03:29 +03:00
d9b2be19d7
* feat: start script * make faster
19 lines
496 B
Docker
19 lines
496 B
Docker
FROM python:3.11-bullseye
|
|
|
|
# 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
|
|
|
|
#You may need to run `chmod +x ./backend/scripts/start.sh` on your host machine if you get a permission error
|
|
COPY ./scripts/start.sh /code/scripts/start.sh
|
|
RUN chmod +x /code/scripts/start.sh
|
|
|
|
COPY . /code/
|
|
|
|
ENTRYPOINT ["/code/scripts/start.sh"]
|