quivr/backend/core/Dockerfile
2023-07-17 07:57:27 +01:00

19 lines
521 B
Docker

FROM python:3.11-bullseye
# Install GEOS library
RUN apt-get update && apt-get install -y libgeos-dev pandoc
WORKDIR /code
COPY ./core/requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir -r /code/requirements.txt --timeout 100
#You may need to run `chmod +x ./backend/core/scripts/start.sh` on your host machine if you get a permission error
COPY ./core/scripts/start.sh /code/scripts/start.sh
RUN chmod +x /code/scripts/start.sh
COPY ./core /code/
ENTRYPOINT ["bash", "/code/scripts/start.sh"]