Fix sentencepiece dependency in dockerfiles (#553)

This commit is contained in:
Malte Pietsch 2020-11-05 12:01:27 +01:00 committed by GitHub
parent 531d6a1c6e
commit 46530e86f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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