Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
New dependency for tokenizer
  • Loading branch information
pascalaldo authored Dec 11, 2024
1 parent c3a5239 commit 8b07245
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8
FROM python:3.10

WORKDIR /usr/src/app

Expand All @@ -9,9 +9,12 @@ ENV PYTHONUNBUFFERED 1

COPY ./requirements.txt /usr/src/app/requirements.txt

RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"

# Install the requirements with all depencies:
RUN pip install --upgrade pip setuptools wheel \
&& pip install -r requirements.txt \
&& rm -rf /root/.cache/pip

COPY ./ /usr/src/app
COPY ./ /usr/src/app

0 comments on commit 8b07245

Please sign in to comment.