Skip to content

Commit

Permalink
Fix sentencepiece dependency in dockerfiles (deepset-ai#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
tholor committed Nov 5, 2020
1 parent 531d6a1 commit 46530e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM python:3.7.4-stretch

WORKDIR /home/user

RUN apt-get update && apt-get install -y curl git pkg-config cmake

# copy code
COPY haystack /home/user/haystack

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-GPU
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM nvidia/cuda:10.1-runtime

WORKDIR /home/user

RUN apt-get update && apt-get install -y python3.7 python3.7-dev python3.7-distutils python3-pip curl git
RUN apt-get update && apt-get install -y python3.7 python3.7-dev python3.7-distutils python3-pip curl git pkg-config cmake

ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
Expand Down

0 comments on commit 46530e8

Please sign in to comment.