Skip to content

Commit

Permalink
py-311 with rust for new medcat verison
Browse files Browse the repository at this point in the history
  • Loading branch information
tomolopolis committed Aug 14, 2023
1 parent b3e9ba7 commit 97c0144
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion webapp/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10
FROM python:3.11

# Update and upgrade everything
RUN apt-get update -y && \
Expand All @@ -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 ./ .
Expand Down

0 comments on commit 97c0144

Please sign in to comment.