Skip to content

Commit

Permalink
refactor: use pytorch base
Browse files Browse the repository at this point in the history
  • Loading branch information
AlasDiablo committed Jul 15, 2024
1 parent d4da8eb commit 5581ffd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions services/chem-ner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ RUN --mount=type=secret,id=webdav_login \
COPY ./v1/chem/models.dvc /dvc
RUN dvc pull -v

FROM cnrsinist/ezs-python-server:py3.9-no16-1.0.11
FROM cnrsinist/ezs-python-pytorch-server:py3.9-no16-1.1.4

USER root
RUN pip install torch==2.1.0+cpu --index-url https://download.pytorch.org/whl/cpu
RUN pip install transformers==4.30.2 certifi==2024.2.2

WORKDIR /app/public
# Declare files to copy in .dockerignore
Expand Down

0 comments on commit 5581ffd

Please sign in to comment.