diff --git a/webapp/Dockerfile b/webapp/Dockerfile index 06ace36b..9305e86a 100644 --- a/webapp/Dockerfile +++ b/webapp/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10 +FROM python:3.11 # Update and upgrade everything RUN apt-get update -y && \ @@ -10,6 +10,10 @@ RUN apt-get install -y vim # Get node and npm RUN apt install -y nodejs && apt-get install -y npm && npm install -g npm@latest +# Install Rust - for tokenziers dep in medcat. +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y +ENV PATH="/root/.cargo/bin:${PATH}" + # Copy project WORKDIR /home COPY ./ .